Code

Fixed ACLs in phoneAccount.
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Thu, 27 Mar 2008 09:43:59 +0000 (09:43 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Thu, 27 Mar 2008 09:43:59 +0000 (09:43 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@10020 594d385d-05f5-0310-b6e9-bd551577e9d8

gosa-plugins/gofon/gofon/phoneaccount/class_phoneAccount.inc

index 2c0f36620b5345d3cb3e570557b69af646515446..d8bac82893a425191e8544ee2b39d211ebeb1e78 100644 (file)
@@ -131,7 +131,7 @@ class phoneAccount extends plugin
     /* Get available phone hardware  
      * Search for all available phone hardware  
      */
-    $tmp = get_sub_list("(objectClass=goFonHardware)","",array(get_ou("phoneou")),
+    $tmp = get_sub_list("(objectClass=goFonHardware)","phone",array(get_ou("phoneou")),
                   $this->config->current['BASE'],array("cn","description"), GL_NO_ACL_CHECK);
     foreach($tmp as $attrs){
       $cn= $attrs['cn'][0];
@@ -158,7 +158,7 @@ class phoneAccount extends plugin
         get_ou("componentou"),
         get_ou("phoneou"));
 
-    $tmp = get_sub_list("(goFonHardware=*)","",$deps_a,$this->config->current['BASE'],
+    $tmp = get_sub_list("(goFonHardware=*)","phone",$deps_a,$this->config->current['BASE'],
         array('cn','dn','goFonHardware'),GL_NO_ACL_CHECK);
     foreach($tmp as $attrs){
       $cn = $attrs['goFonHardware'][0];