From 4ceaf29975fb7ad33648a3d0c9b9f49b8816c874 Mon Sep 17 00:00:00 2001 From: hickert Date: Fri, 7 Mar 2008 15:02:51 +0000 Subject: [PATCH] Updated connectivity -Only check activated accountsi for errors. git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@9444 594d385d-05f5-0310-b6e9-bd551577e9d8 --- .../personal/connectivity/class_connectivity.inc | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/gosa-plugins/connectivity/personal/connectivity/class_connectivity.inc b/gosa-plugins/connectivity/personal/connectivity/class_connectivity.inc index a27690471..c5ca2aa8c 100644 --- a/gosa-plugins/connectivity/personal/connectivity/class_connectivity.inc +++ b/gosa-plugins/connectivity/personal/connectivity/class_connectivity.inc @@ -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); -- 2.30.2