Code

Ignore non defined plugins
authorcajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8>
Thu, 17 Jan 2008 14:08:20 +0000 (14:08 +0000)
committercajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8>
Thu, 17 Jan 2008 14:08:20 +0000 (14:08 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@8462 594d385d-05f5-0310-b6e9-bd551577e9d8

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

index 5c2ad23a0091d5e2e3b70962933ff73005b28078..a276904717b227648e368f8c2ae54e112d3d34c6 100644 (file)
@@ -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);