function subuser_confirm_delete in Subuser 5
1 string reference to 'subuser_confirm_delete'
File
- ./
subuser.module, line 65
Code
function subuser_confirm_delete($name, $uid) {
$user = user_load(array(
"uid" => $uid,
));
$form['uid'] = array(
'#type' => 'value',
'#value' => $uid,
);
return confirm_form($form, t('Are you sure you want to delete the account %name?', array(
'%name' => $user->name,
)), 'user/' . $uid, t('All submissions made by this user will be attributed to the anonymous account. This action cannot be undone.'), t('Delete'), t('Cancel'));
}