MDL-73700 mlbackend: remove old PHP version check
As MDL-73016 set the minimum supported PHP version for Moodle 4.4 and up to PHP 8.1 we can now safely remove this check. As the lang string `errorphp7required` is particular to mlbackend php plugin we are going for direct deletion instead of regular deprecation. Signed-off-by: Daniel Ziegenberg <[email protected]>
This commit is contained in:
@@ -68,9 +68,6 @@ class processor implements \core_analytics\classifier, \core_analytics\regressor
|
||||
* @return bool
|
||||
*/
|
||||
public function is_ready() {
|
||||
if (version_compare(phpversion(), '7.0.0') < 0) {
|
||||
return get_string('errorphp7required', 'mlbackend_php');
|
||||
}
|
||||
return true;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user