no more needed
This commit is contained in:
parent
a56f2451bb
commit
56c95a2961
1 changed files with 0 additions and 11 deletions
11
src/My.php
11
src/My.php
|
@ -24,9 +24,6 @@ class My
|
||||||
/** @var string Mailer name */
|
/** @var string Mailer name */
|
||||||
public const X_MAILER = 'Dotclear';
|
public const X_MAILER = 'Dotclear';
|
||||||
|
|
||||||
/** @var string This module required php version */
|
|
||||||
public const PHP_MIN = '7.4';
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* This module id.
|
* This module id.
|
||||||
*/
|
*/
|
||||||
|
@ -52,12 +49,4 @@ class My
|
||||||
{
|
{
|
||||||
return dirname(__DIR__);
|
return dirname(__DIR__);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
|
||||||
* Check this module PHP version compliant.
|
|
||||||
*/
|
|
||||||
public static function phpCompliant(): bool
|
|
||||||
{
|
|
||||||
return version_compare(phpversion(), self::PHP_MIN, '>=');
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue