From a4aa4161d19ea2acd96716304dc6da3408b56de1 Mon Sep 17 00:00:00 2001 From: cajus Date: Thu, 17 Jan 2008 14:08:20 +0000 Subject: [PATCH] Ignore non defined plugins git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@8462 594d385d-05f5-0310-b6e9-bd551577e9d8 --- gosa-core/plugins/personal/connectivity/class_connectivity.inc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/gosa-core/plugins/personal/connectivity/class_connectivity.inc b/gosa-core/plugins/personal/connectivity/class_connectivity.inc index 5c2ad23a0..a27690471 100644 --- a/gosa-core/plugins/personal/connectivity/class_connectivity.inc +++ b/gosa-core/plugins/personal/connectivity/class_connectivity.inc @@ -36,6 +36,9 @@ class connectivity extends plugin /* Load accounts */ foreach ($config->data['TABS']['CONNECTIVITY'] as $plug){ + if (!plugin_available($plug['CLASS'])) { + continue; + } $name= $plug['CLASS']; $this->plugin_name[]= $name; $this->plugin[$name]= new $name($config, $dn,$parent); -- 2.30.2