diff options
author | Dries Buytaert <dries@buytaert.net> | 2009-01-22 12:46:07 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2009-01-22 12:46:07 +0000 |
commit | 938c7c07a38129deeb4eabe805e3ae80db8ccead (patch) | |
tree | 69e6b62e0aedec33265d1b3c0a50fcd154062dcd /modules/user | |
parent | 4488b2481e327cbcbbbb9dfc439e8557a8942f8c (diff) | |
download | brdo-938c7c07a38129deeb4eabe805e3ae80db8ccead.tar.gz brdo-938c7c07a38129deeb4eabe805e3ae80db8ccead.tar.bz2 |
- Patch #360605 by Berdir: made CVS HEAD compatible with PHP5.3.
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)); } |