issue splash messages

This commit is contained in:
Uwe Steinmann 2021-05-21 08:53:43 +02:00
parent 477d1a69b8
commit eacd59c2ef

View File

@ -95,6 +95,7 @@ if ($action == "delnotify") {
UI::exitError(getMLText("folder_title", array("foldername" => $folder->getName())),getMLText("internal_error"));
break;
case 0:
$session->setSplashMsg(array('type'=>'success', 'msg'=>getMLText('splash_rm_notify')));
if($notifier) {
$notifier->sendDeleteFolderNotifyMail($folder, $user, $obj);
}
@ -121,6 +122,7 @@ else if ($action == "addnotify") {
UI::exitError(getMLText("folder_title", array("foldername" => $folder->getName())),getMLText("internal_error"));
break;
case 0:
$session->setSplashMsg(array('type'=>'success', 'msg'=>getMLText('splash_add_notify')));
if($notifier) {
$obj = $dms->getUser($userid);
$notifier->sendNewFolderNotifyMail($folder, $user, $obj);
@ -145,6 +147,7 @@ else if ($action == "addnotify") {
UI::exitError(getMLText("folder_title", array("foldername" => $folder->getName())),getMLText("internal_error"));
break;
case 0:
$session->setSplashMsg(array('type'=>'success', 'msg'=>getMLText('splash_add_notify')));
if($notifier) {
$obj = $dms->getGroup($groupid);
$notifier->sendNewFolderNotifyMail($folder, $user, $obj);