mirror of
https://github.com/joomla-extensions/jedchecker.git
synced 2024-11-27 23:36:38 +00:00
JError is not supported by Joomla! 4, return false is sufficient to abort installation
This commit is contained in:
parent
0ac7ee0f6b
commit
1bcd291f8c
@ -34,7 +34,8 @@ class Com_JedcheckerInstallerScript
|
|||||||
{
|
{
|
||||||
$this->loadLanguage();
|
$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;
|
return false;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user