MDL-30811 forum: Update use of redirect to include message and type
[moodle.git] / mod / forum / maildigest.php
index ae8d72d..966442d 100644 (file)
@@ -75,4 +75,4 @@ if ($backtoindex) {
     $returnto = "view.php?f={$id}";
 }
 
-redirect($returnto, $updatemessage, 1);
+redirect($returnto, $updatemessage, null, \core\output\notification::NOTIFY_SUCCESS);