summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 978d13b)
raw | patch | inline | side by side (parent: 978d13b)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Fri, 2 Jul 2010 07:34:55 +0000 (07:34 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Fri, 2 Jul 2010 07:34:55 +0000 (07:34 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@18913 594d385d-05f5-0310-b6e9-bd551577e9d8
gosa-core/plugins/personal/myaccount/main.inc | patch | blob | history |
diff --git a/gosa-core/plugins/personal/myaccount/main.inc b/gosa-core/plugins/personal/myaccount/main.inc
index 3fcb3ef2640f6b72834a3f6c2142ade275b164fd..45d0438c1dee00960b703fc0d0ff6a691ec72cf1 100644 (file)
/* Remove locks created by this plugin
*/
$lock_msg="";
-if ($remove_lock || isset($_POST['edit_cancel']) || isset($_POST['password_cancel'])){
- del_lock($ui->dn);
- if(session::is_set('MyAccountTabs') && session::is_set('edit')){
- session::un_set('MyAccountTabs');
- }
+if ($remove_lock ||
+ isset($_POST['edit_cancel']) ||
+ isset($_POST['password_cancel'])){
+ del_lock($ui->dn);
+ if(session::is_set('MyAccountTabs') && session::is_set('edit')){
+ session::un_set('MyAccountTabs');
+ }
}
/* Reset requested? */
-if (isset($_POST['edit_cancel']) || $cleanup){
+if (isset($_POST['edit_cancel']) || $cleanup || isset($_POST['password_changed'])){
session::un_set ('edit');
session::un_set ('MyAccountTabs');
}