summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Rothstein2012-10-06 05:05:57 (GMT)
committer David Rothstein2012-10-06 05:05:57 (GMT)
commit506d8c47b01e8ac99b1e60706bc09f833c285ec6 (patch)
tree8a73df48fa99b4e794f7012450d33122ebc1f9be
parent925429f32a14007b99a347286bc76cd8fdef48fb (diff)
Issue #1780012 by dewens: Fixed "parameter 1 expected to be a reference" error in Profile module's hook_user_cancel() implementation.
-rw-r--r--modules/profile/profile.module2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/profile/profile.module b/modules/profile/profile.module
index 6b00d42..d76d08a 100644
--- a/modules/profile/profile.module
+++ b/modules/profile/profile.module
@@ -229,7 +229,7 @@ function profile_user_insert(&$edit, $account, $category) {
/**
* Implements hook_user_cancel().
*/
-function profile_user_cancel(&$edit, $account, $method) {
+function profile_user_cancel($edit, $account, $method) {
switch ($method) {
case 'user_cancel_reassign':
db_delete('profile_value')