Code

Updated connectivity
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Fri, 7 Mar 2008 15:02:51 +0000 (15:02 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Fri, 7 Mar 2008 15:02:51 +0000 (15:02 +0000)
-Only check activated accountsi for errors.

git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@9444 594d385d-05f5-0310-b6e9-bd551577e9d8

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

index a276904717b227648e368f8c2ae54e112d3d34c6..c5ca2aa8c51138b0b89178b0a658218a0d43ba23 100644 (file)
@@ -121,9 +121,10 @@ class connectivity extends plugin
     $message= plugin::check();
 
     foreach ($this->plugin_name as $name){
-      $tmp= $this->plugin[$name]->check();
-
-      $message= array_merge($message, $tmp);
+      if($this->plugin[$name]->is_account){
+        $tmp= $this->plugin[$name]->check();
+        $message= array_merge($message, $tmp);
+      }
     }
 
     return ($message);