From e4e03fa631aecad68115e75076e5e73933be2cb8 Mon Sep 17 00:00:00 2001 From: Petr Skoda Date: Mon, 2 Nov 2009 16:13:22 +0000 Subject: [PATCH] MDL-20720 fixed notices when deleting modules --- admin/modules.php | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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; } } -- 2.39.5