Solving all warnings from moodle-plugin-ci check.

This commit is contained in:
Daniel Thee Roperto committed 2016-09-08 11:13:46 +10:00
1 parent 2a120f0ebe
commit efee27af40
3 files changed
+44 -13

No files matched your search

-3
View File
@@ -57,7 +57,6 @@ class outagelib {
*/
public static function inject() {
global $CFG;
global $PAGE;
// Many hooks can call it, execute only once.
if (self::$initialized) {
@@ -69,8 +68,6 @@ class outagelib {
return;
}
// FIXME Code below is raising error at http://moodle.test/my/ for example.
// $PAGE->add_body_class('auth_outage_active');
$CFG->additionalhtmltopofbody = self::get_renderer()->renderbar($active)
. $CFG->additionalhtmltopofbody;
}