Code

Updated classnames
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Mon, 25 Jan 2010 14:48:43 +0000 (14:48 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Mon, 25 Jan 2010 14:48:43 +0000 (14:48 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@15288 594d385d-05f5-0310-b6e9-bd551577e9d8

gosa-plugins/fai/admin/systems/services/repository/class_filterServRepository.inc [new file with mode: 0644]
gosa-plugins/fai/admin/systems/services/repository/class_filterServerService.inc [deleted file]
gosa-plugins/fai/admin/systems/services/repository/class_servRepository.inc

diff --git a/gosa-plugins/fai/admin/systems/services/repository/class_filterServRepository.inc b/gosa-plugins/fai/admin/systems/services/repository/class_filterServRepository.inc
new file mode 100644 (file)
index 0000000..01faa2d
--- /dev/null
@@ -0,0 +1,30 @@
+<?php
+
+class filterRepository {
+
+  static function query($base, $scope, $filter, $attributes, $category, $objectStorage= "")
+  {
+    return(array());
+    $list = servRepository::getRepositoryList();
+
+    $data = array();
+    foreach($list as $key => $entry){   
+      $entry['objectClass'] = array('FAKE_OC_FaiRepository');
+      $item = array('count' => count($entry));
+      $item['dn'] = $key;
+      foreach($entry as $name => $value){   
+        $item[] = $name;
+        if(!is_array($value)) $value=array($value);
+        $value= array_values($value);
+        $value['count'] = count($value);
+        $item[$name] = $value;
+         
+        
+      }
+      $data[] = $item;
+    }
+    return($data);
+  }
+}
+
+?>
diff --git a/gosa-plugins/fai/admin/systems/services/repository/class_filterServerService.inc b/gosa-plugins/fai/admin/systems/services/repository/class_filterServerService.inc
deleted file mode 100644 (file)
index e662240..0000000
+++ /dev/null
@@ -1,29 +0,0 @@
-<?php
-
-class filterRepository {
-
-  static function query($base, $scope, $filter, $attributes, $category, $objectStorage= "")
-  {
-    $list = servRepository::getRepositoryList();
-
-    $data = array();
-    foreach($list as $key => $entry){   
-      $entry['objectClass'] = array('FAKE_OC_FaiRepository');
-      $item = array('count' => count($entry));
-      $item['dn'] = $key;
-      foreach($entry as $name => $value){   
-        $item[] = $name;
-        if(!is_array($value)) $value=array($value);
-        $value= array_values($value);
-        $value['count'] = count($value);
-        $item[$name] = $value;
-         
-        
-      }
-      $data[] = $item;
-    }
-    return($data);
-  }
-}
-
-?>
index ff134395e5da36f1cd04096a0b288415a02c9e81..6797e103e86eb677ae4c8724f39c787e0b148521 100644 (file)
@@ -74,7 +74,7 @@ class servrepository extends goService
         $this->repositories[$tmp[2]]=$tmp2;      
       }
     }
-
+    session::set('RepositoryList', $this->repositories);
 
     /* Create divlist */
     $this->divlist = new repositoryManagement($this->config,$this);