Code

Connectivity acls are handled by the sub plugins.
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Mon, 15 Jan 2007 06:37:44 +0000 (06:37 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Mon, 15 Jan 2007 06:37:44 +0000 (06:37 +0000)
We do not need to check for connectivity acls

git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.5@5559 594d385d-05f5-0310-b6e9-bd551577e9d8

plugins/personal/connectivity/main.inc

index 2a460f49ceabbc7020d0b0a4767caa358268bb5e..f3cf40c8c2dab9950c90655839f06a67b19b4686 100644 (file)
@@ -67,7 +67,7 @@ if (!$remove_lock){
       $connectivity->save ();
       gosa_log ("User/connectivity object'".$ui->dn."' has been saved");
       $connectivity->acl= "#none#";
-      $editacl= get_module_permission($acl, "connectivity", $ui->dn);
+    #  $editacl= get_module_permission($acl, "connectivity", $ui->dn);
       del_lock ($ui->dn);
       sess_del ('edit');
 
@@ -124,15 +124,18 @@ if (!$remove_lock){
     } else {
       $info= "<img class=\"center\" alt=\"\" align=\"middle\" src=\"".get_template_path('images/openlock.png').
              "\"> ".$ui->dn."&nbsp;";
-      if ($editacl != "#none#"){
+     # if ($editacl != "#none#"){
         $info.= "<img class=\"center\" alt=\"\" align=\"middle\" src=\"".get_template_path('images/lamp.png').
                 "\">"._("Click the 'Edit' button below to change informations in this dialog");
         $display.= "<input type=submit name=\"edit\" value=\""._("Edit")."\">\n";
-      }
+      #}
       $display.= "<input type=\"hidden\" name=\"ignore\">\n";
     }
     $display.="</div>";
+  }else{
+    $display.= "<input type=\"hidden\" name=\"ignore\">\n";
   }
+
 //  $display.= "</p>\n";
 
   /* Page header*/