mirror of
https://github.com/moodle/moodle.git
synced 2025-08-06 01:16:44 +02:00
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 <daniel@ziegenberg.at>
This commit is contained in:
parent
5d99a0cbef
commit
bcce1851f1
2 changed files with 0 additions and 4 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
@ -27,6 +27,5 @@ $string['errorcantloadmodel'] = 'Model file {$a} does not exist. The model shoul
|
|||
$string['errorlowscore'] = 'The evaluated model prediction accuracy is not very high, so some predictions may not be accurate. Model score = {$a->score}, minimum score = {$a->minscore}';
|
||||
$string['errornotenoughdata'] = 'There is not enough data to evaluate this model using the provided analysis interval.';
|
||||
$string['errornotenoughdatadev'] = 'The evaluation results varied too much. It is recommended that more data is gathered to ensure the model is valid. Evaluation results standard deviation = {$a->deviation}, maximum recommended standard deviation = {$a->accepteddeviation}';
|
||||
$string['errorphp7required'] = 'The PHP machine learning backend requires PHP 7';
|
||||
$string['pluginname'] = 'PHP machine learning backend';
|
||||
$string['privacy:metadata'] = 'The PHP machine learning backend plugin does not store any personal data.';
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue