diff options
author | Dries Buytaert <dries@buytaert.net> | 2008-11-11 16:49:38 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2008-11-11 16:49:38 +0000 |
commit | bd108c7f1036858fc2b4293ee2bad0474129fab9 (patch) | |
tree | fd5a88544ca93829c2f38b9e1f4da4e7fef051e9 /modules/trigger | |
parent | ea02bd1d2e1b8f134ac810116223a42883b41c73 (diff) | |
download | brdo-bd108c7f1036858fc2b4293ee2bad0474129fab9.tar.gz brdo-bd108c7f1036858fc2b4293ee2bad0474129fab9.tar.bz2 |
- Patch #299778 by hswong3i, Arancaytar, Dave Reid et al: code clean-up.
Diffstat (limited to 'modules/trigger')
-rw-r--r-- | modules/trigger/trigger.module | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/modules/trigger/trigger.module b/modules/trigger/trigger.module index b00cd358e..02568064d 100644 --- a/modules/trigger/trigger.module +++ b/modules/trigger/trigger.module @@ -202,7 +202,7 @@ function _trigger_normalize_node_context($type, $node) { /** * Simple wrapper function to make user hooks work with new entry points. * - * @TODO: Take advantage of the new API and reorganise/remove this function. + * @TODO: Take advantage of the new API and reorganise/remove this function. */ function _trigger_nodeapi(&$node, $op, $a3, $a4) { // Keep objects for reuse so that changes actions make to objects can persist. @@ -241,7 +241,7 @@ function _trigger_nodeapi(&$node, $op, $a3, $a4) { } } } - + /** * Implementation of hook_nodeapi_view(). */ @@ -384,51 +384,51 @@ function _trigger_normalize_user_context($type, $account) { } /** - * trigger_user_login + * trigger_user_login */ function trigger_user_login(&$edit, &$account, $category) { - _trigger_user('login', $edit, $account, $category); + _trigger_user('login', $edit, $account, $category); } /** * Implementation of hook_user_logout(). */ function trigger_user_logout(&$edit, &$account) { - _trigger_user('logout', $edit, $account); + _trigger_user('logout', $edit, $account); } /** * Implementation of hook_user_insert(). */ function trigger_user_insert(&$edit, &$account, $category) { - _trigger_user('insert', $edit, $account, $category); + _trigger_user('insert', $edit, $account, $category); } /** * Implementation of hook_user_update(). */ function trigger_user_update(&$edit, &$account, $category) { - _trigger_user('update', $edit, $account, $category); + _trigger_user('update', $edit, $account, $category); } /** * Implementation of hook_user_delete(). */ function trigger_user_delete(&$edit, &$account, $category) { - _trigger_user('delete', $edit, $account, $category); + _trigger_user('delete', $edit, $account, $category); } /** * Implementation of hook_user_view(). */ function trigger_user_view(&$edit, &$account, $category) { - _trigger_user('view', $edit, $account, $category); + _trigger_user('view', $edit, $account, $category); } /** * Simple wrapper function to make user hooks work with new entry points. * - * @TODO: Take advantage of the new API and reorganise/remove this function. + * @TODO: Take advantage of the new API and reorganise/remove this function. */ function _trigger_user($op, &$edit, &$account, $category = NULL) { // Keep objects for reuse so that changes actions make to objects can persist. |