Code

reenabled filter caching
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Tue, 16 Mar 2010 08:40:05 +0000 (08:40 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Tue, 16 Mar 2010 08:40:05 +0000 (08:40 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@16590 594d385d-05f5-0310-b6e9-bd551577e9d8

gosa-plugins/goto/addons/goto/events/class_EventAddUserDialog.inc

index a93a7230f6dce630e68fa0e297053ed1c7052b1c..0649761c88422e0a946242bf1f8adc21979a691f 100644 (file)
@@ -35,12 +35,12 @@ class EventAddUserDialog extends management
         get_ou("groupRDN")); 
 
     // Build filter
-#    if (session::global_is_set(get_class($this)."_filter")){
#     $filter= session::global_get(get_class($this)."_filter");
-  #  } else {
+    if (session::global_is_set(get_class($this)."_filter")){
+      $filter= session::global_get(get_class($this)."_filter");
+    } else {
       $filter = new filter(get_template_path("../../addons/goto/events/eventTargetUser-filter.xml", TRUE));
       $filter->setObjectStorage($this->storagePoints);
-   # }
+    }
     $this->setFilter($filter);
 
     // Build headpage