summaryrefslogtreecommitdiff
path: root/modules/statistics/statistics.module
diff options
context:
space:
mode:
Diffstat (limited to 'modules/statistics/statistics.module')
-rw-r--r--modules/statistics/statistics.module2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/statistics/statistics.module b/modules/statistics/statistics.module
index 59604577d..6b9d8eb4c 100644
--- a/modules/statistics/statistics.module
+++ b/modules/statistics/statistics.module
@@ -325,7 +325,7 @@ function _statistics_format_item($title, $path) {
/**
* Implementation of hook_nodeapi_delete().
*/
-function statistics_nodeapi_delete(&$node, $arg = 0) {
+function statistics_nodeapi_delete($node) {
// clean up statistics table when node is deleted
db_query('DELETE FROM {node_counter} WHERE nid = %d', $node->nid);
}