From: hickert Date: Fri, 19 Nov 2010 16:28:16 +0000 (+0000) Subject: Only display errors about missing plugin in development mode X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=8a4399e3495e84915a20e59cf0f6cad7c8375b22;p=gosa.git Only display errors about missing plugin in development mode git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@20305 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/gosa-core/include/class_tabs.inc b/gosa-core/include/class_tabs.inc index 99fd29694..2dbd3ebaf 100644 --- a/gosa-core/include/class_tabs.inc +++ b/gosa-core/include/class_tabs.inc @@ -62,7 +62,7 @@ class tabs $this->acl_category = $acl_category; foreach ($data as &$tab){ - if (!plugin_available($tab['CLASS'])){ + if (!plugin_available($tab['CLASS']) && $this->config->boolValueIsTrue("core","developmentMode")){ trigger_error(sprintf("Unknown class %s!", bold($tab['CLASS']))); continue; }