Skip to content

Commit 928d314

Browse files
author
Michael Babker
committed
Remove check for binary file
1 parent d94e539 commit 928d314

File tree

2 files changed

+0
-7
lines changed

2 files changed

+0
-7
lines changed

administrator/components/com_patchtester/PatchTester/Controller/ApplyController.php

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -36,12 +36,6 @@ public function execute()
3636
if ($model->apply($this->getInput()->getUint('pull_id')))
3737
{
3838
$msg = \JText::_('COM_PATCHTESTER_APPLY_OK');
39-
40-
// Check if the pull request includes binary files and raise a warning about non-support if so
41-
if ($model->getState()->get('pull.has_binary', false))
42-
{
43-
$this->getApplication()->enqueueMessage(\JText::_('COM_PATCHTESTER_PATCH_INCLUDES_BINARY_FILES'), 'warning');
44-
}
4539
}
4640
else
4741
{

administrator/components/com_patchtester/language/en-GB/en-GB.com_patchtester.ini

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,6 @@ COM_PATCHTESTER_NO_FILES_TO_PATCH="There are no files to patch from this pull re
7373
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."
7474
COM_PATCHTESTER_NOT_APPLIED="Not Applied"
7575
COM_PATCHTESTER_NOT_RTC="Not RTC"
76-
COM_PATCHTESTER_PATCH_INCLUDES_BINARY_FILES="The patch you've applied includes binary files which the patch tester does not currently support."
7776
COM_PATCHTESTER_READY_TO_COMMIT="Ready to Commit"
7877
COM_PATCHTESTER_REPO_IS_GONE="The patch could not be applied because the repository is missing"
7978
COM_PATCHTESTER_REQUIREMENT_HTTPS="HTTPS wrappers must be enabled"

0 commit comments

Comments
 (0)