Code

added schema dependencies
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Thu, 27 May 2010 09:50:33 +0000 (09:50 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Thu, 27 May 2010 09:50:33 +0000 (09:50 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@18760 594d385d-05f5-0310-b6e9-bd551577e9d8

gosa-plugins/connectivity/personal/connectivity/class_connectivity.inc

index d857208fab2528ffcd26af7e63c7ee3ecde873e4..a4678bc9f2b2a6342b0f6bde0a579752626a29c2 100644 (file)
@@ -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);