Code

Updated post handling
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Thu, 29 Jul 2010 12:14:32 +0000 (12:14 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Thu, 29 Jul 2010 12:14:32 +0000 (12:14 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@19226 594d385d-05f5-0310-b6e9-bd551577e9d8

gosa-core/plugins/admin/ogroups/objectSelect/class_filterLDAPDepartmentBlacklist.inc

index ff6c467eadfd4cc949910c721cd9ce5340e57163..0e222d052798289f43e58b8c94ca5de0f83e848f 100644 (file)
@@ -2,16 +2,16 @@
 
 class filterLDAPDepartmentBlacklist  extends filterLDAPBlacklist{
 
-  static function query($base, $scope, $filter, $attributes, $category, $objectStorage= "")
-  {
-    $entries = filterLDAPBlacklist::query($base, $scope, $filter, $attributes, $category,array());
-    foreach($entries as $key => $entry){
-      $entries[$key]['cn'] = $entry['ou'];
-      $entries[$key][ $entries[$key]['count'] ]= 'cn';
-      $entries[$key]['count'] ++;
+    static function query($base, $scope, $filter, $attributes, $category, $objectStorage= "")
+    {
+        $entries = filterLDAPBlacklist::query($base, $scope, $filter, $attributes, $category,array());
+        foreach($entries as $key => $entry){
+            $entries[$key]['cn'] = $entry['ou'];
+            $entries[$key][ $entries[$key]['count'] ]= 'cn';
+            $entries[$key]['count'] ++;
+        }
+        return(filterLDAPBlacklist::filterByBlacklist($entries));
     }
-    return(filterLDAPBlacklist::filterByBlacklist($entries));
-  }
 }
 
 ?>