Code

Reenabled caching
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Tue, 16 Mar 2010 13:33:06 +0000 (13:33 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Tue, 16 Mar 2010 13:33:06 +0000 (13:33 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@16637 594d385d-05f5-0310-b6e9-bd551577e9d8

gosa-plugins/goto/personal/environment/hotplugSelect/class_hotplugSelect.inc

index ed2b8f004f83d8c12593d8901398d5bf6db62c2d..1d3c3b51596a06411badd7e7edcddd86efe2b678 100644 (file)
@@ -33,13 +33,13 @@ class hotplugSelect extends management
 
     $this->storagePoints = array(get_ou("deviceRDN"));
 
-#    // Build filter
#   if (session::global_is_set(get_class($this)."_filter")){
-  #    $filter= session::global_get(get_class($this)."_filter");
-   # } else {
+    // Build filter
+    if (session::global_is_set(get_class($this)."_filter")){
+      $filter= session::global_get(get_class($this)."_filter");
+    } else {
       $filter = new filter(get_template_path("selectHotplug-filter.xml", true, dirname(__FILE__)));
       $filter->setObjectStorage($this->storagePoints);
-    #}
+    }
     $this->setFilter($filter);
 
   // Build headpage