From 47445ab806262044b0ad130d22dfcf01b1b88428 Mon Sep 17 00:00:00 2001 From: hickert Date: Thu, 10 Apr 2008 08:04:01 +0000 Subject: [PATCH] Updated class plugin. -Fixed error messages for POSTEVENTS git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@10309 594d385d-05f5-0310-b6e9-bd551577e9d8 --- gosa-core/include/class_plugin.inc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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); } } -- 2.30.2