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:
parent
d94e5396a9
commit
928d314451
@ -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
|
||||||
{
|
{
|
||||||
|
@ -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"
|
||||||
|
Loading…
Reference in New Issue
Block a user