Skip to content

Commit 1dbe108

Browse files
Issue #1828530 by cam8001: Remove unused $default_method variable in user_cancel_confirm_form()
1 parent 032954a commit 1dbe108

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

modules/user/user.pages.inc

-1
Original file line numberDiff line numberDiff line change
@@ -359,7 +359,6 @@ function user_cancel_confirm_form($form, &$form_state, $account) {
359359
$form['_account'] = array('#type' => 'value', '#value' => $account);
360360

361361
// Display account cancellation method selection, if allowed.
362-
$default_method = variable_get('user_cancel_method', 'user_cancel_block');
363362
$admin_access = user_access('administer users');
364363
$can_select_method = $admin_access || user_access('select account cancellation method');
365364
$form['user_cancel_method'] = array(

0 commit comments

Comments
 (0)