You are here

function delete_all_users in Delete all 7

Same name and namespace in other branches
  1. 5 delete_all.module \delete_all_users()
  2. 6 delete_all.module \delete_all_users()
1 string reference to 'delete_all_users'
delete_all_menu in ./delete_all.module
@file Delete all 7.x module

File

./delete_all.module, line 477
Delete all 7.x module

Code

function delete_all_users() {
  $form = array();
  return confirm_form($form, t('Are you sure you want to delete all users (uid > 1)?'), 'admin', t('This will delete all users except for User 1 (the administrative user). This action cannot be undone'), t('Delete'), t('Cancel'), 'delete_all_content');
}