From 8a4399e3495e84915a20e59cf0f6cad7c8375b22 Mon Sep 17 00:00:00 2001 From: hickert Date: Fri, 19 Nov 2010 16:28:16 +0000 Subject: [PATCH] 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 --- gosa-core/include/class_tabs.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } -- 2.30.2