31
0
mirror of https://github.com/joomla-extensions/patchtester.git synced 2024-05-28 11:30:47 +00:00

Merge pull request #332 from alikon/patch-3

no more need for a warning if j4
This commit is contained in:
Roland Dalmulder 2021-10-29 23:15:37 +02:00 committed by GitHub
commit 1bdd5eb56f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -123,12 +123,6 @@ class PullsHtmlView extends DefaultHtmlView
// Make text strings available in the JavaScript API
Text::script('COM_PATCHTESTER_CONFIRM_RESET');
// Set a warning on 4.0 branch
if (version_compare(JVERSION, '4.0', 'ge'))
{
Factory::getApplication()->enqueueMessage(Text::_('COM_PATCHTESTER_40_WARNING'), 'warning');
}
return parent::render();
}