Issue #64 - Fixed problems detected by Behat test.

This commit is contained in:
Daniel Thee Roperto committed 2016-10-19 10:30:26 +11:00
1 parent 6985d33dc6
commit 38dbb6deaa
5 files changed
+14 -9

No files matched your search

+5
View File
@@ -31,6 +31,11 @@ defined('MOODLE_INTERNAL') || die();
*/
function xmldb_auth_outage_uninstall() {
global $DB;
// Delete all outage events.
$DB->delete_records('event', ['eventtype' => 'auth_outage']);
// Delete template file.
$template = auth_outage\local\controllers\infopage::get_defaulttemplatefile();
if (file_exists($template)) {