summaryrefslogtreecommitdiff
path: root/modules/user/user.module
diff options
context:
space:
mode:
Diffstat (limited to 'modules/user/user.module')
-rw-r--r--modules/user/user.module34
1 files changed, 2 insertions, 32 deletions
diff --git a/modules/user/user.module b/modules/user/user.module
index 2c2c8896d..9cb594c73 100644
--- a/modules/user/user.module
+++ b/modules/user/user.module
@@ -2925,45 +2925,15 @@ function user_image_style_save($style) {
}
/**
- * Implement hook_hook_info().
- */
-function user_hook_info() {
- return array(
- 'user' => array(
- 'user' => array(
- 'insert' => array(
- 'runs when' => t('After a user account has been created'),
- ),
- 'update' => array(
- 'runs when' => t("After a user's profile has been updated"),
- ),
- 'delete' => array(
- 'runs when' => t('After a user has been deleted')
- ),
- 'login' => array(
- 'runs when' => t('After a user has logged in')
- ),
- 'logout' => array(
- 'runs when' => t('After a user has logged out')
- ),
- 'view' => array(
- 'runs when' => t("When a user's profile is being viewed")
- ),
- ),
- ),
- );
-}
-
-/**
* Implement hook_action_info().
*/
function user_action_info() {
return array(
'user_block_user_action' => array(
- 'description' => t('Block current user'),
+ 'label' => t('Block current user'),
'type' => 'user',
'configurable' => FALSE,
- 'hooks' => array(),
+ 'triggers' => array(),
),
);
}