Code

Updated user selection for events
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Fri, 22 Jan 2010 09:38:05 +0000 (09:38 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Fri, 22 Jan 2010 09:38:05 +0000 (09:38 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@15247 594d385d-05f5-0310-b6e9-bd551577e9d8

gosa-plugins/goto/addons/goto/events/class_DaemonEvent_notify.inc
gosa-plugins/goto/addons/goto/events/class_EventAddUserDialog.inc

index 3765b2f1bf6b1d5a0f2fed715aead4a8993b2291..34bf909c435df6b9f293e0ec8b7b5bde7ae122c5 100644 (file)
@@ -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']);
     }
index 569bedf32532bb5b6681a37a6a78daf78b8ec5aa..0a17e032cdfbc5eeff8c041884f07b1f018f9401 100644 (file)
@@ -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:
 ?>