From 506d8c47b01e8ac99b1e60706bc09f833c285ec6 Mon Sep 17 00:00:00 2001 From: David Rothstein Date: Sat, 6 Oct 2012 01:05:57 -0400 Subject: Issue #1780012 by dewens: Fixed "parameter 1 expected to be a reference" error in Profile module's hook_user_cancel() implementation. --- modules/profile/profile.module | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules/profile') diff --git a/modules/profile/profile.module b/modules/profile/profile.module index 6b00d4296..d76d08ac6 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') -- cgit v1.2.3