Merge branch 'MDL-59657_master-fix' of git://github.com/dmonllao/moodle

This commit is contained in:
Dan Poltawski
2017-09-07 10:58:38 +02:00
committed by David Monllao
+1 -1
View File
@@ -147,7 +147,7 @@ class processor implements \core_analytics\classifier, \core_analytics\regressor
$modelfilepath = $outputdir . DIRECTORY_SEPARATOR . self::MODEL_FILENAME;
if (!file_exists($modelfilepath)) {
throw new \moodle_exception('errorcantloadmodel', 'analytics', '', $modelfilepath);
throw new \moodle_exception('errorcantloadmodel', 'mlbackend_php', '', $modelfilepath);
}
$modelmanager = new ModelManager();