Convert deprecated pix_url calls.

This commit is contained in:
Dan Marsden
2018-10-03 15:10:59 +13:00
parent 92f7ec0541
commit 07e26e312c
4 changed files with 8 additions and 14 deletions

View File

@@ -105,8 +105,6 @@ class outagelib_test extends advanced_testcase {
$size = strlen($CFG->additionalhtmltopofbody);
outagelib::inject();
self::assertSame($size, strlen($CFG->additionalhtmltopofbody));
$this->resetDebugging(); // Function pix_url deprecated in Moodle 33+.
}
/**
@@ -142,8 +140,6 @@ class outagelib_test extends advanced_testcase {
outagelib::reinject();
self::assertContains('<style>', $CFG->additionalhtmltopofbody);
self::assertContains('<script>', $CFG->additionalhtmltopofbody);
$this->resetDebugging(); // Function pix_url deprecated in Moodle 33+.
}
/**
@@ -503,8 +499,6 @@ EOT;
outagelib::reinject();
self::assertNotEmpty($CFG->additionalhtmltopofbody);
$this->resetDebugging(); // Function pix_url deprecated in Moodle 33+.
}
private function create_outage() {