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 /modules/statistics | |
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 'modules/statistics')
-rw-r--r-- | modules/statistics/statistics.module | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/modules/statistics/statistics.module b/modules/statistics/statistics.module index edfba3994..01a3be06e 100644 --- a/modules/statistics/statistics.module +++ b/modules/statistics/statistics.module @@ -99,9 +99,9 @@ function statistics_perm() { } /** - * Implementation of hook_nodeapi_view(). + * Implementation of hook_node_view(). */ -function statistics_nodeapi_view($node, $teaser, $page) { +function statistics_node_view($node, $teaser, $page) { global $id; $links = array(); @@ -341,9 +341,9 @@ function _statistics_format_item($title, $path) { } /** - * Implementation of hook_nodeapi_delete(). + * Implementation of hook_node_delete(). */ -function statistics_nodeapi_delete($node) { +function statistics_node_delete($node) { // clean up statistics table when node is deleted db_query('DELETE FROM {node_counter} WHERE nid = %d', $node->nid); } |