diff options
Diffstat (limited to 'modules/user')
-rw-r--r-- | modules/user/user.api.php | 6 | ||||
-rw-r--r-- | modules/user/user.module | 2 |
2 files changed, 4 insertions, 4 deletions
diff --git a/modules/user/user.api.php b/modules/user/user.api.php index 7398bb0ee..4d7feef77 100644 --- a/modules/user/user.api.php +++ b/modules/user/user.api.php @@ -94,9 +94,9 @@ function hook_user($op, &$edit, &$account, $category = NULL) { * * Expensive operations should be added to the global batch with batch_set(). * - * @param &$edit + * @param $edit * The array of form values submitted by the user. - * @param &$account + * @param $account * The user object on which the operation is being performed. * @param $method * The account cancellation method. @@ -105,7 +105,7 @@ function hook_user($op, &$edit, &$account, $category = NULL) { * @see hook_user_cancel_methods_alter() * @see user_cancel() */ -function hook_user_cancel(&$edit, &$account, $method) { +function hook_user_cancel($edit, $account, $method) { switch ($method) { case 'user_cancel_block_unpublish': // Unpublish nodes (current revisions). diff --git a/modules/user/user.module b/modules/user/user.module index d2e720758..97f108413 100644 --- a/modules/user/user.module +++ b/modules/user/user.module @@ -790,7 +790,7 @@ function user_user_submit(&$edit, &$account, $category = NULL) { /** * Implementation of hook_user_categories. */ -function user_user_categories(&$edit, &$account, $category = NULL) { +function user_user_categories($edit, $account, $category = NULL) { return array(array('name' => 'account', 'title' => t('Account settings'), 'weight' => 1)); } |