From d6fcd59c19ce065219963c5638a57e3e0277a5a1 Mon Sep 17 00:00:00 2001 From: cajus Date: Wed, 16 Jan 2008 16:43:18 +0000 Subject: [PATCH] Fixed tab generation git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@8414 594d385d-05f5-0310-b6e9-bd551577e9d8 --- gosa-core/include/class_location.inc | 11 ----------- gosa-core/include/class_tabs.inc | 5 +++++ 2 files changed, 5 insertions(+), 11 deletions(-) diff --git a/gosa-core/include/class_location.inc b/gosa-core/include/class_location.inc index cabed3289..a137f9b58 100644 --- a/gosa-core/include/class_location.inc +++ b/gosa-core/include/class_location.inc @@ -59,17 +59,6 @@ $class_mapping= array( "divListBlocklist" => "plugins/gofax/blocklists/class_divListBlocklists.inc", "blocklistGeneric" => "plugins/gofax/blocklists/class_blocklistGeneric.inc", "gofaxAccount" => "plugins/gofax/faxaccount/class_gofaxAccount.inc", - "fonreport" => "plugins/gofon/fonreports/class_fonreport.inc", - "phoneAccount" => "plugins/gofon/phoneaccount/class_phoneAccount.inc", - "divListConference" => "plugins/gofon/conference/class_divListConferences.inc", - "phoneConferenceManagment" => "plugins/gofon/conference/class_phoneConferenceManagment.inc", - "conferencetabs" => "plugins/gofon/conference/tabs_conference.inc", - "conference" => "plugins/gofon/conference/class_phoneConferenceGeneric.inc", - "divListMacro" => "plugins/gofon/macro/class_divListMacros.inc", - "macro" => "plugins/gofon/macro/class_gofonMacro.inc", - "macrotabs" => "plugins/gofon/macro/tabs_macros.inc", - "macroParameter" => "plugins/gofon/macro/class_gofonMacroParameters.inc", - "goFonMacro" => "plugins/gofon/macro/class_gofonMacroManagement.inc", "reference" => "plugins/generic/references/class_reference.inc", "termgroup" => "plugins/admin/ogroups/class_termgroup.inc", "ogroup" => "plugins/admin/ogroups/class_ogroup.inc", diff --git a/gosa-core/include/class_tabs.inc b/gosa-core/include/class_tabs.inc index aa00fbc24..e05e60c51 100644 --- a/gosa-core/include/class_tabs.inc +++ b/gosa-core/include/class_tabs.inc @@ -44,6 +44,11 @@ class tabs $baseobject= NULL; foreach ($data as &$tab){ + + if (!plugin_available($tab['CLASS'])){ + continue; + } + $this->by_name[$tab['CLASS']]= $tab['NAME']; if ($baseobject === NULL){ -- 2.30.2