summaryrefslogtreecommitdiff
path: root/includes/actions.inc
diff options
context:
space:
mode:
Diffstat (limited to 'includes/actions.inc')
-rw-r--r--includes/actions.inc4
1 files changed, 1 insertions, 3 deletions
diff --git a/includes/actions.inc b/includes/actions.inc
index ac79a7c15..8eeca815d 100644
--- a/includes/actions.inc
+++ b/includes/actions.inc
@@ -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)) {