From: Petr Skoda Date: Mon, 2 Nov 2009 16:13:22 +0000 (+0000) Subject: MDL-20720 fixed notices when deleting modules X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=e4e03fa631aecad68115e75076e5e73933be2cb8;p=moodle.git MDL-20720 fixed notices when deleting modules --- diff --git a/admin/modules.php b/admin/modules.php index 20e8d6ce3a..371695a2d5 100644 --- a/admin/modules.php +++ b/admin/modules.php @@ -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; } }