summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: eafc8b1)
raw | patch | inline | side by side (parent: eafc8b1)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Mon, 10 May 2010 11:19:25 +0000 (11:19 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Mon, 10 May 2010 11:19:25 +0000 (11:19 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@18201 594d385d-05f5-0310-b6e9-bd551577e9d8
gosa-plugins/goto/admin/applications/class_applicationGeneric.inc | patch | blob | history |
diff --git a/gosa-plugins/goto/admin/applications/class_applicationGeneric.inc b/gosa-plugins/goto/admin/applications/class_applicationGeneric.inc
index f31c8b6c04da613a887272c5cf09837dcaab8be6..d9b21b3885ce566c1de0ac500d2a6162549d662d 100644 (file)
/* Check for existing application */
$ldap= $this->config->get_ldap_link();
$ldap->cd($this->config->current["BASE"]);
-
- $tmp = $this->config->search("faiManagement", "CLASS",array('menu','tabs'));
-
if($this->is_release()){
$base = $this->parent->parent->app_release;
}else{
if(isset($this->parent->parent)){
return($this->parent->parent->IsReleaseManagementActivated());
}else{
+
/* Check if we should enable the release selection */
- $tmp = $this->config->search("faiManagement", "CLASS",array('menu','tabs'));
- if(!empty($tmp)){
- return(true);
- }
+ return($this->config->pluginEnabled("faiManagement"));
}
return(FALSE);
}