mirror of
https://github.com/joomla-extensions/patchtester.git
synced 2025-01-03 15:17:22 +00:00
Merge pull request #332 from alikon/patch-3
no more need for a warning if j4
This commit is contained in:
commit
1bdd5eb56f
@ -123,12 +123,6 @@ class PullsHtmlView extends DefaultHtmlView
|
|||||||
// Make text strings available in the JavaScript API
|
// Make text strings available in the JavaScript API
|
||||||
Text::script('COM_PATCHTESTER_CONFIRM_RESET');
|
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();
|
return parent::render();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user