diff options
author | Dries Buytaert <dries@buytaert.net> | 2009-12-04 16:49:48 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2009-12-04 16:49:48 +0000 |
commit | 1da26fadfe9cdcbd89a912b9f61c710adff4c6c8 (patch) | |
tree | d77a0c5420a53c65d24b8ac1842b7f1e356c39d3 /modules/tracker | |
parent | 8523aca33e828c638f2373e5be4e80ed30866a58 (diff) | |
download | brdo-1da26fadfe9cdcbd89a912b9f61c710adff4c6c8.tar.gz brdo-1da26fadfe9cdcbd89a912b9f61c710adff4c6c8.tar.bz2 |
- Patch #502190 by jhodgdon, stella, sun: hook implementation headers out of compliance with standards.
Diffstat (limited to 'modules/tracker')
-rw-r--r-- | modules/tracker/tracker.install | 8 | ||||
-rw-r--r-- | modules/tracker/tracker.module | 20 |
2 files changed, 14 insertions, 14 deletions
diff --git a/modules/tracker/tracker.install b/modules/tracker/tracker.install index 7e997a01e..5d8f86fb7 100644 --- a/modules/tracker/tracker.install +++ b/modules/tracker/tracker.install @@ -2,14 +2,14 @@ // $Id$ /** - * Implement hook_install(). + * Implements hook_install(). */ function tracker_install() { drupal_install_schema('tracker'); } /** - * Implement hook_uninstall(). + * Implements hook_uninstall(). */ function tracker_uninstall() { drupal_uninstall_schema('tracker'); @@ -19,7 +19,7 @@ function tracker_uninstall() { } /** - * Implement hook_enable(). + * Implements hook_enable(). */ function tracker_enable() { $max_nid = db_query('SELECT MAX(nid) FROM {node}')->fetchField(); @@ -32,7 +32,7 @@ function tracker_enable() { } /** - * Implement hook_schema(). + * Implements hook_schema(). */ function tracker_schema() { $schema['tracker_node'] = array( diff --git a/modules/tracker/tracker.module b/modules/tracker/tracker.module index 8b011ed66..5aebccc6f 100644 --- a/modules/tracker/tracker.module +++ b/modules/tracker/tracker.module @@ -7,7 +7,7 @@ */ /** - * Implement hook_help(). + * Implements hook_help(). */ function tracker_help($path, $arg) { switch ($path) { @@ -28,7 +28,7 @@ function tracker_help($path, $arg) { } /** - * Implement hook_menu(). + * Implements hook_menu(). */ function tracker_menu() { $items['tracker'] = array( @@ -70,7 +70,7 @@ function tracker_menu() { } /** - * Implement hook_cron(). + * Implements hook_cron(). */ function tracker_cron() { $max_nid = variable_get('tracker_index_nid', 0); @@ -164,28 +164,28 @@ function _tracker_user_access($account) { } /** - * Implement hook_nodeapi_insert(). + * Implements hook_nodeapi_insert(). */ function tracker_node_insert($node, $arg = 0) { _tracker_add($node->nid, $node->uid, $node->changed); } /** - * Implement hook_nodeapi_update(). + * Implements hook_nodeapi_update(). */ function tracker_node_update($node, $arg = 0) { _tracker_add($node->nid, $node->uid, $node->changed); } /** - * Implement hook_nodeapi_delete(). + * Implements hook_nodeapi_delete(). */ function tracker_node_delete($node, $arg = 0) { _tracker_remove($node->nid, $node->uid, $node->changed); } /** - * Implement hook_comment_update(). + * Implements hook_comment_update(). * * Comment module doesn't call hook_comment_unpublish() when saving individual * comments so we need to check for those here. @@ -199,7 +199,7 @@ function tracker_comment_update($comment) { } /** - * Implement hook_comment_publish(). + * Implements hook_comment_publish(). * * This actually handles the insert and update of published nodes since * comment_save() calls hook_comment_publish() for all published comments. @@ -209,14 +209,14 @@ function tracker_comment_publish($comment) { } /** - * Implement hook_comment_unpublish(). + * Implements hook_comment_unpublish(). */ function tracker_comment_unpublish($comment) { _tracker_remove($comment->nid, $comment->uid, $comment->changed); } /** - * Implement hook_comment_delete(). + * Implements hook_comment_delete(). */ function tracker_comment_delete($comment) { _tracker_remove($comment->nid, $comment->uid, $comment->changed); |