From: hickert Date: Thu, 27 May 2010 09:50:33 +0000 (+0000) Subject: added schema dependencies X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=f7a094424b83c857b590dbb987777e772ca807ef;p=gosa.git added schema dependencies git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@18760 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/gosa-plugins/connectivity/personal/connectivity/class_connectivity.inc b/gosa-plugins/connectivity/personal/connectivity/class_connectivity.inc index d857208fa..a4678bc9f 100644 --- a/gosa-plugins/connectivity/personal/connectivity/class_connectivity.inc +++ b/gosa-plugins/connectivity/personal/connectivity/class_connectivity.inc @@ -37,9 +37,10 @@ class connectivity extends plugin /* Load accounts */ foreach ($config->data['TABS']['CONNECTIVITY'] as $plug){ - if (!plugin_available($plug['CLASS'])) { + if (!class_available($plug['CLASS']) || !plugin_available($plug['CLASS'])) { continue; } + $name= $plug['CLASS']; $this->plugin_name[]= $name; $this->plugin[$name]= new $name($config, $dn,$parent);