From ec0e782d7af3c8bd2f765a09c668e5c8696398cc Mon Sep 17 00:00:00 2001 From: hickert Date: Fri, 22 Jan 2010 09:38:05 +0000 Subject: [PATCH] Updated user selection for events git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@15247 594d385d-05f5-0310-b6e9-bd551577e9d8 --- .../goto/addons/goto/events/class_DaemonEvent_notify.inc | 1 + .../goto/addons/goto/events/class_EventAddUserDialog.inc | 6 ++++++ 2 files changed, 7 insertions(+) diff --git a/gosa-plugins/goto/addons/goto/events/class_DaemonEvent_notify.inc b/gosa-plugins/goto/addons/goto/events/class_DaemonEvent_notify.inc index 3765b2f1b..34bf909c4 100644 --- a/gosa-plugins/goto/addons/goto/events/class_DaemonEvent_notify.inc +++ b/gosa-plugins/goto/addons/goto/events/class_DaemonEvent_notify.inc @@ -185,6 +185,7 @@ class DaemonEvent_notify extends DaemonEvent */ public function add_targets($targets) { + print_a($targets); if(isset($targets['USERS'])){ $this->add_users($targets['USERS']); } diff --git a/gosa-plugins/goto/addons/goto/events/class_EventAddUserDialog.inc b/gosa-plugins/goto/addons/goto/events/class_EventAddUserDialog.inc index 569bedf32..0a17e032c 100644 --- a/gosa-plugins/goto/addons/goto/events/class_EventAddUserDialog.inc +++ b/gosa-plugins/goto/addons/goto/events/class_EventAddUserDialog.inc @@ -62,6 +62,12 @@ class EventAddUserDialog extends management } return($ret); } + + function get_selected_targets() + { + $entries = $this->save(); + return($entries); + } } // vim:tabstop=2:expandtab:shiftwidth=2:filetype=php:syntax:ruler: ?> -- 2.30.2