33
0
mirror of https://github.com/joomla-extensions/patchtester.git synced 2024-12-23 11:29:00 +00:00

Remove check for binary file

This commit is contained in:
Michael Babker 2016-06-25 12:40:28 -05:00
parent d94e5396a9
commit 928d314451
2 changed files with 0 additions and 7 deletions

View File

@ -36,12 +36,6 @@ class ApplyController extends AbstractController
if ($model->apply($this->getInput()->getUint('pull_id'))) if ($model->apply($this->getInput()->getUint('pull_id')))
{ {
$msg = \JText::_('COM_PATCHTESTER_APPLY_OK'); $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 else
{ {

View File

@ -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_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_APPLIED="Not Applied"
COM_PATCHTESTER_NOT_RTC="Not RTC" 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_READY_TO_COMMIT="Ready to Commit"
COM_PATCHTESTER_REPO_IS_GONE="The patch could not be applied because the repository is missing" 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" COM_PATCHTESTER_REQUIREMENT_HTTPS="HTTPS wrappers must be enabled"