Code

removed old style edit method
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Wed, 3 Mar 2010 17:15:30 +0000 (17:15 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Wed, 3 Mar 2010 17:15:30 +0000 (17:15 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@16009 594d385d-05f5-0310-b6e9-bd551577e9d8

gosa-plugins/scalix/personal/scalix/class_scalixAccount.inc

index 0f8cc811ee932bbdbf50428a8a6d3bceb6f75090..f76320653d33c320eab85f286645ef8aafa0e3f0 100644 (file)
@@ -116,8 +116,6 @@ class scalixAccount extends plugin
       $this->is_account= !$this->is_account;
     }
 
-    $ReadOnly = !session::is_set("edit") && !isset($this->parent);
-
     /* Show main page */
     $mailboxClasses = array("", "LIMITED", "FULL");
     $serverLanguages= array("", "GERMAN", "ENGLISH");
@@ -162,7 +160,7 @@ class scalixAccount extends plugin
       "scalixLimitInboundMail", "scalixLimitNotifyUser", "scalixHideUserEntry", "scalixMailboxClass") as $val){
 
       $smarty->assign("$val", $this->$val);
-      $smarty->assign("$val"."ACL", $this->getacl($val, $ReadOnly));
+      $smarty->assign("$val"."ACL", $this->getacl($val));
     }
 
     /* Fill checkboxes */