Index: includes/actions.inc
===================================================================
RCS file: /cvs/drupal/drupal/includes/actions.inc,v
retrieving revision 1.8
diff -u -p -r1.8 actions.inc
--- includes/actions.inc	31 Dec 2007 14:51:04 -0000	1.8
+++ includes/actions.inc	16 Feb 2008 23:04:18 -0000
@@ -22,8 +22,6 @@
  * @param $object
  *   Parameter that will be passed along to the callback. Typically the
  *   object that the action will act on; a node, user or comment object.
- *   If the action does not act on an object, pass a dummy object. This
- *   is necessary to support PHP 4 object referencing.
  * @param $context
  *   Parameter that will be passed along to the callback. $context is a
  *   keyed array containing extra information about what is currently
@@ -39,7 +37,7 @@
  *   An associative array containing the result of the function that
  *   performs the action, keyed on action ID.
  */
-function actions_do($action_ids, &$object, $context = NULL, $a1 = NULL, $a2 = NULL) {
+function actions_do($action_ids, $object = NULL, $context = NULL, $a1 = NULL, $a2 = NULL) {
   static $stack;
   $stack++;
   if ($stack > variable_get('actions_max_stack', 35)) {
Index: modules/trigger/trigger.module
===================================================================
RCS file: /cvs/drupal/drupal/modules/trigger/trigger.module,v
retrieving revision 1.13
diff -u -p -r1.13 trigger.module
--- modules/trigger/trigger.module	21 Jan 2008 20:08:15 -0000	1.13
+++ modules/trigger/trigger.module	16 Feb 2008 23:04:20 -0000
@@ -299,8 +299,7 @@ function trigger_comment($a1, $op) {
       actions_do($aid, $objects[$action_info['type']], $context);
     }
     else {
-      $comment = (object) $a1;
-      actions_do($aid, $comment, $context);
+      actions_do($aid, (object) $a1, $context);
     }
   }
 }
@@ -393,8 +392,7 @@ function trigger_taxonomy($op, $type, $a
     'op' => $op
   );
   foreach ($aids as $aid => $action_info) {
-    $taxonomy_object = (object) $array;
-    actions_do($aid, $taxonomy_object, $context);
+    actions_do($aid, (object) $array, $context);
   }
 }
 
