summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 76913c5)
raw | patch | inline | side by side (parent: 76913c5)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Fri, 20 Jul 2007 08:03:00 +0000 (08:03 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Fri, 20 Jul 2007 08:03:00 +0000 (08:03 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@6929 594d385d-05f5-0310-b6e9-bd551577e9d8
include/class_tabs.inc | patch | blob | history |
diff --git a/include/class_tabs.inc b/include/class_tabs.inc
index e3bc989f175db25104e6e4e7eb9b83a3d0c4553f..3be731dcbcb0e780a173b2b7981b974353e8ba62 100644 (file)
--- a/include/class_tabs.inc
+++ b/include/class_tabs.inc
$this->save_object(TRUE);
$messages= array();
+ $current_set = FALSE;
+
/* Check all plugins */
foreach ($this->by_object as $key => $obj){
if ($obj->is_account || $ignore_account || $obj->ignore_account){
- @DEBUG (DEBUG_TRACE, __LINE__, __FUNCTION__, __FILE__,
- $key, "Checking");
+ @DEBUG (DEBUG_TRACE, __LINE__, __FUNCTION__, __FILE__,$key, "Checking");
+
+ $msg = $obj->check();
- $messages= $obj->check();
if (is_php4()){
$this->by_object[$key]= $obj;
}
- if (count($messages)){
- $this->current= $key;
- break;
+ if (count($msg)){
+ $this->by_object[$key]->pl_notify= TRUE;
+ if(!$current_set){
+ $current_set = TRUE;
+ $this->current= $key;
+ $messages = $msg;
+ }
+ }else{
+ $this->by_object[$key]->pl_notify= FALSE;
}
+ }else{
+ $this->by_object[$key]->pl_notify= FALSE;
}
}
-
return ($messages);
}