33
2
mirror of https://github.com/joomla-extensions/jedchecker.git synced 2024-12-29 04:42:36 +00:00

JError is not supported by Joomla! 4, return false is sufficient to abort installation

This commit is contained in:
Denis Ryabov 2021-03-02 01:27:29 +03:00
parent 0ac7ee0f6b
commit 1bcd291f8c

View File

@ -34,7 +34,8 @@ class Com_JedcheckerInstallerScript
{
$this->loadLanguage();
Jerror::raiseWarning(null, JText::sprintf('COM_JEDCHECKER_PHP_VERSION_INCOMPATIBLE', PHP_VERSION, '5.3.10'));
$msg = JText::sprintf('COM_JEDCHECKER_PHP_VERSION_INCOMPATIBLE', PHP_VERSION, '5.3.10');
echo "<p>$msg</p>";
return false;
}