-
Bug
-
Resolution: Not a bug
-
Minor
-
None
-
2.7
-
MOODLE_27_STABLE
-
MDL-46253-master -
-
3
-
BACKEND Sprint 14
Debug message can be confusing to most users.
When installing a plugin/module through Moodle interface , Add-on Package validation page display Message "foundlangfile" with status 'Debug'. It looks like as if something is wrong.
File : /admin/tool/installaddon/classes/validator.php
Line : 397
Incorrect : $this->add_message(self::DEBUG, 'foundlangfile', $this->langfilename);
Correct : $this->add_message(self::OK, 'foundlangfile', $this->langfilename);
I am not sure if setting it to DEBUG is done for a reason.