-
Improvement
-
Resolution: Fixed
-
Minor
-
2.7.7, 2.8.5
-
MOODLE_27_STABLE, MOODLE_28_STABLE
-
MOODLE_29_STABLE
-
Easy
-
In lib/classes/plugin_manager.php in the function load_present_plugins(), the actual include of the version.php file is done with a 'stfu' @ prefix.
I don't think this is a terribly good idea. If the version.php file is corrupt or has weird permissions then the admin never gets to hear about it. You just get the 'missing plugin' message on the plugins screen.
Personally I think it would be much less bother if it simply failed if something was wrong. I can't think of a situation where you wouldn't want to actually fix the problem.