Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
project
drupal
Commits
72a19d00
Commit
72a19d00
authored
Sep 07, 2006
by
Neil Drumm
Browse files
#81958
by edkwh. Fix multi-user deletion.
parent
04cbffcc
Changes
1
Hide whitespace changes
Inline
Side-by-side
modules/user/user.module
View file @
72a19d00
...
...
@@ -1918,10 +1918,6 @@ function theme_user_admin_new_role($form) {
}
function
user_admin_account
()
{
if
(
$_POST
[
'accounts'
]
&&
$_POST
[
'operation'
]
==
'delete'
)
{
return
user_multiple_delete_confirm
();
}
$filter
=
user_build_filter_query
();
$header
=
array
(
...
...
@@ -2226,8 +2222,13 @@ function user_admin($callback_arg = '') {
$output
=
drupal_get_form
(
'user_register'
);
break
;
default
:
$output
.
=
drupal_get_form
(
'user_filter_form'
);
$output
.
=
drupal_get_form
(
'user_admin_account'
);
if
(
$_POST
[
'accounts'
]
&&
$_POST
[
'operation'
]
==
'delete'
)
{
$output
=
drupal_get_form
(
'user_multiple_delete_confirm'
);
}
else
{
$output
.
=
drupal_get_form
(
'user_filter_form'
);
$output
.
=
drupal_get_form
(
'user_admin_account'
);
}
}
return
$output
;
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment