summaryrefslogtreecommitdiff
path: root/modules/user/user.api.php
diff options
context:
space:
mode:
Diffstat (limited to 'modules/user/user.api.php')
-rw-r--r--modules/user/user.api.php6
1 files changed, 3 insertions, 3 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).