Code

Updated table summary
[gosa.git] / gosa-plugins / goto / admin / applications / class_applicationManagement.inc
index 93122037a21765df8e8b5d13b54814b098733e08..43ec0c5bbd1921be09c5bf4030b47bd07970fc18 100644 (file)
@@ -44,20 +44,20 @@ class applicationManagement extends management
       $this->app_release = get_ou('applicationRDN').$this->config->current['BASE'];
       $filter_xml = "application-filter-release.xml";
       $list_xml = "application-list-release.xml";
-      $this->storagePoints= array();
+      $this->storagePoints= array("");
     }else{
       $filter_xml = "application-filter.xml";
       $list_xml = "application-list.xml";
       $this->storagePoints= array(get_ou("applicationRDN"));
     }
 
-#   // 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($filter_xml, true));
       $filter->setObjectStorage($this->storagePoints);
-#    }
+    }
     $this->setFilter($filter);
 
     // Build headpage
@@ -117,8 +117,6 @@ class applicationManagement extends management
 
   function IsReleaseManagementActivated()
   {
-    return(FALSE);  
-
     /* Check if we should enable the release selection */
     $tmp = $this->config->search("faiManagement", "CLASS",array('menu','tabs'));
     if(!empty($tmp)){