MDL-20720 fixed notices when deleting modules

This commit is contained in:
Petr Skoda
2009-11-02 16:13:22 +00:00
parent 4103f151f9
commit e4e03fa631
+4 -1
View File
@@ -90,7 +90,10 @@
uninstall_plugin('mod', $delete);
$a->module = $strmodulename;
$a->directory = "$CFG->dirroot/mod/$delete";
notice(get_string("moduledeletefiles", "", $a), "modules.php");
echo $OUTPUT->notification(get_string("moduledeletefiles", "", $a), 'notifysuccess');
echo $OUTPUT->continue_button("modules.php");
echo $OUTPUT->footer();
exit;
}
}