Révision 6ff32cea
Ajouté par Florent Torregrosa il y a environ 9 ans
drupal7/modules/user/user.pages.inc | ||
---|---|---|
359 | 359 |
$form['_account'] = array('#type' => 'value', '#value' => $account); |
360 | 360 |
|
361 | 361 |
// Display account cancellation method selection, if allowed. |
362 |
$default_method = variable_get('user_cancel_method', 'user_cancel_block'); |
|
363 | 362 |
$admin_access = user_access('administer users'); |
364 | 363 |
$can_select_method = $admin_access || user_access('select account cancellation method'); |
365 | 364 |
$form['user_cancel_method'] = array( |
Formats disponibles : Unified diff
Update core to 7.36