diff options
author | Angie Byron <webchick@24967.no-reply.drupal.org> | 2009-03-08 04:25:07 +0000 |
---|---|---|
committer | Angie Byron <webchick@24967.no-reply.drupal.org> | 2009-03-08 04:25:07 +0000 |
commit | ddc2604d694892f6576a5cfa970a4bcfda6ec270 (patch) | |
tree | 19ea28561e1c99c287f4a040adf98740903cb2da /includes | |
parent | ad84a92662cea2c8ad2e1d29ccdc7234627d4a51 (diff) | |
download | brdo-ddc2604d694892f6576a5cfa970a4bcfda6ec270.tar.gz brdo-ddc2604d694892f6576a5cfa970a4bcfda6ec270.tar.bz2 |
#383066 by David Strauss: Rename hook_nodeapi_X to hook_node_X.
Diffstat (limited to 'includes')
-rw-r--r-- | includes/actions.inc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/includes/actions.inc b/includes/actions.inc index f18f54c5c..90c162b6c 100644 --- a/includes/actions.inc +++ b/includes/actions.inc @@ -119,7 +119,7 @@ function actions_do($action_ids, $object = NULL, $context = NULL, $a1 = NULL, $a * 'description' => t('Save node'), * 'configurable' => FALSE, * 'hooks' => array( - * 'nodeapi' => array('delete', 'insert', 'update', 'view'), + * 'node' => array('delete', 'insert', 'update', 'view'), * 'comment' => array('delete', 'insert', 'update', 'view'), * ) * ) @@ -147,7 +147,7 @@ function actions_do($action_ids, $object = NULL, $context = NULL, $a1 = NULL, $a * 'description' => t('Publish post'), * 'configurable' => FALSE, * 'hooks' => array( - * 'nodeapi' => array('presave', 'insert', 'update', 'view'), + * 'node' => array('presave', 'insert', 'update', 'view'), * 'comment' => array('delete', 'insert', 'update', 'view'), * ), * ); |