Code

Fixed locked entry behavior
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Wed, 6 Dec 2006 06:51:39 +0000 (06:51 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Wed, 6 Dec 2006 06:51:39 +0000 (06:51 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@5309 594d385d-05f5-0310-b6e9-bd551577e9d8

plugins/gofax/blocklists/class_blocklistManagement.inc

index 4007c79bdec9fee5832c13bae7504347b64ea84d..9f2675c9e15e57e28690a97f65a46aa37f9b211f 100644 (file)
@@ -39,6 +39,8 @@ class blocklist extends plugin
     /* Call parent execute */
     plugin::execute();
 
+    $_SESSION['LOCK_VARS_TO_USE'] = array("/^user_/");
+
     /***************
       Init vars 
      ***************/
@@ -67,11 +69,6 @@ class blocklist extends plugin
         // Post for new
       }elseif(preg_match("/user_new.*/",$key)){
         $s_action="new";
-      }elseif(preg_match("/user_tplnew.*/i",$key)){
-        $s_action="new_tpl";
-      }elseif(preg_match("/user_chgpw.*/i",$key)){
-        $s_action="change_pw";
-        $s_entry  = preg_replace("/user_chgpw_/i","",$key);
       }
     }