From: hickert Date: Thu, 10 Apr 2008 08:04:01 +0000 (+0000) Subject: Updated class plugin. X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=47445ab806262044b0ad130d22dfcf01b1b88428;p=gosa.git Updated class plugin. -Fixed error messages for POSTEVENTS git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@10309 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/gosa-core/include/class_plugin.inc b/gosa-core/include/class_plugin.inc index 8ae807992..868626da6 100644 --- a/gosa-core/include/class_plugin.inc +++ b/gosa-core/include/class_plugin.inc @@ -634,7 +634,7 @@ class plugin exec($command); } else { - $message[]= msgPool::cmdnotfound("POSTCREATE", get_class($this)); + $message= msgPool::cmdnotfound("POSTCREATE", get_class($this)); msg_dialog::display(_("Error"), $message, ERROR_DIALOG); } } @@ -671,7 +671,7 @@ class plugin @DEBUG (DEBUG_SHELL, __LINE__, __FUNCTION__, __FILE__,$command, "Execute"); exec($command); } else { - $message[]= msgPool::cmdnotfound("POSTMODIFY", get_class($this)); + $message= msgPool::cmdnotfound("POSTMODIFY", get_class($this)); msg_dialog::display(_("Error"), $message, ERROR_DIALOG); } } @@ -709,7 +709,7 @@ class plugin exec($command); } else { - $message[]= msgPool::cmdnotfound("POSTREMOVE", get_class($this)); + $message= msgPool::cmdnotfound("POSTREMOVE", get_class($this)); msg_dialog::display(_("Error"), $message, ERROR_DIALOG); } }