MDL-59657 analytics: Move lang string to correct location

This commit is contained in:
David Monllao
2017-09-07 10:58:38 +02:00
committed by David Monllao
parent 95fc1e720c
commit 0a68e283d0
+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();