From 6c467d261e041370539a4ab9cf9fbe255b13953f Mon Sep 17 00:00:00 2001 From: hickert Date: Wed, 19 Sep 2007 12:40:42 +0000 Subject: [PATCH] Added msg dialog to user deletion git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@7329 594d385d-05f5-0310-b6e9-bd551577e9d8 --- include/class_msg_dialog.inc | 3 ++- plugins/admin/users/class_userManagement.inc | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/include/class_msg_dialog.inc b/include/class_msg_dialog.inc index 2006c58e8..90b4b07f2 100644 --- a/include/class_msg_dialog.inc +++ b/include/class_msg_dialog.inc @@ -68,7 +68,7 @@ class msg_dialog $seen = ""; if(isset($_POST['closed_msg_dialogs'])){ - $seen = $_POST['closed_msg_dialogs']; +# $seen = $_POST['closed_msg_dialogs']; } if(isset($_SESSION['msg_dialogs']) && is_array($_SESSION['msg_dialogs'])){ @@ -81,6 +81,7 @@ class msg_dialog $return.= $dialog->execute(); $dialog_ids= $dialog->get_ID().",".$dialog_ids; } + unset($_SESSION['msg_dialogs'][$key]); } } $dialog_ids = preg_replace("/,$/","",$dialog_ids); diff --git a/plugins/admin/users/class_userManagement.inc b/plugins/admin/users/class_userManagement.inc index dd471f8ea..4a4ec5aea 100644 --- a/plugins/admin/users/class_userManagement.inc +++ b/plugins/admin/users/class_userManagement.inc @@ -490,6 +490,7 @@ class userManagement extends plugin $this->usertab->delete (); unset ($this->usertab); $this->usertab= NULL; + msg_dialog::display(_("User delted"),_("User successfully removed."),INFO_DIALOG); } else { /* Normally this shouldn't be reached, send some extra -- 2.30.2