From 928d314451c65f999140eb569e98f79a3f68419b Mon Sep 17 00:00:00 2001 From: Michael Babker Date: Sat, 25 Jun 2016 12:40:28 -0500 Subject: [PATCH] Remove check for binary file --- .../PatchTester/Controller/ApplyController.php | 6 ------ .../language/en-GB/en-GB.com_patchtester.ini | 1 - 2 files changed, 7 deletions(-) diff --git a/administrator/components/com_patchtester/PatchTester/Controller/ApplyController.php b/administrator/components/com_patchtester/PatchTester/Controller/ApplyController.php index 32d8a79..885df1c 100644 --- a/administrator/components/com_patchtester/PatchTester/Controller/ApplyController.php +++ b/administrator/components/com_patchtester/PatchTester/Controller/ApplyController.php @@ -36,12 +36,6 @@ class ApplyController extends AbstractController if ($model->apply($this->getInput()->getUint('pull_id'))) { $msg = \JText::_('COM_PATCHTESTER_APPLY_OK'); - - // Check if the pull request includes binary files and raise a warning about non-support if so - if ($model->getState()->get('pull.has_binary', false)) - { - $this->getApplication()->enqueueMessage(\JText::_('COM_PATCHTESTER_PATCH_INCLUDES_BINARY_FILES'), 'warning'); - } } else { diff --git a/administrator/components/com_patchtester/language/en-GB/en-GB.com_patchtester.ini b/administrator/components/com_patchtester/language/en-GB/en-GB.com_patchtester.ini index c039822..285323f 100644 --- a/administrator/components/com_patchtester/language/en-GB/en-GB.com_patchtester.ini +++ b/administrator/components/com_patchtester/language/en-GB/en-GB.com_patchtester.ini @@ -73,7 +73,6 @@ COM_PATCHTESTER_NO_FILES_TO_PATCH="There are no files to patch from this pull re COM_PATCHTESTER_NO_ITEMS="No data has been retrieved from GitHub, please click the 'Fetch Data' button in the toolbar to retrieve the open pull requests." COM_PATCHTESTER_NOT_APPLIED="Not Applied" COM_PATCHTESTER_NOT_RTC="Not RTC" -COM_PATCHTESTER_PATCH_INCLUDES_BINARY_FILES="The patch you've applied includes binary files which the patch tester does not currently support." COM_PATCHTESTER_READY_TO_COMMIT="Ready to Commit" COM_PATCHTESTER_REPO_IS_GONE="The patch could not be applied because the repository is missing" COM_PATCHTESTER_REQUIREMENT_HTTPS="HTTPS wrappers must be enabled"