From: cajus Date: Thu, 17 Jan 2008 14:08:20 +0000 (+0000) Subject: Ignore non defined plugins X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=a4aa4161d19ea2acd96716304dc6da3408b56de1;p=gosa.git Ignore non defined plugins git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@8462 594d385d-05f5-0310-b6e9-bd551577e9d8 --- 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);