Skip to content

Commit fba46ff

Browse files
committed
Adds PHP and Joomla! version checks to instalelr script.
1 parent 1cb1e21 commit fba46ff

File tree

1 file changed

+13
-1
lines changed

1 file changed

+13
-1
lines changed

script.php

+13-1
Original file line numberDiff line numberDiff line change
@@ -12,15 +12,27 @@
1212

1313
use Joomla\CMS\Factory;
1414
use Joomla\CMS\Installer\Adapter\PluginAdapter;
15+
use Joomla\CMS\Installer\InstallerScript;
1516

1617
/**
1718
* ClassExtender script file.
1819
*
1920
* @package Obix Class Extender System Plugin
2021
* @since 1.0.0
2122
*/
22-
class plgSystemClassExtenderInstallerScript
23+
class plgSystemClassExtenderInstallerScript extends InstallerScript
2324
{
25+
/**
26+
* Extension script constructor.
27+
*
28+
* @since 1.2.0
29+
*/
30+
public function __construct()
31+
{
32+
$this->minimumJoomla = '3.9';
33+
$this->minimumPhp = '7.4';
34+
}
35+
2436
/**
2537
* Called after any type of action.
2638
*

0 commit comments

Comments
 (0)