summaryrefslogtreecommitdiffstats
path: root/editusers.cgi
diff options
context:
space:
mode:
authorDylan William Hardison <dylan@hardison.net>2017-07-05 20:43:18 +0200
committerDylan William Hardison <dylan@hardison.net>2017-07-07 00:19:20 +0200
commit37722eca39874bb6abdcd120e3e458bd62dea62b (patch)
tree57a9a9970c00ec77baecab7e154ef7dfcef863fe /editusers.cgi
parenta6f98de0d4e842351222b0173a1fff151da8738e (diff)
downloadbugzilla-37722eca39874bb6abdcd120e3e458bd62dea62b.tar.gz
bugzilla-37722eca39874bb6abdcd120e3e458bd62dea62b.tar.xz
Bug 1377933 - Remove trailing whitespace from all perl files
Diffstat (limited to 'editusers.cgi')
-rwxr-xr-xeditusers.cgi12
1 files changed, 6 insertions, 6 deletions
diff --git a/editusers.cgi b/editusers.cgi
index efe6a27e3..934e0a4ef 100755
--- a/editusers.cgi
+++ b/editusers.cgi
@@ -120,7 +120,7 @@ if ($action eq 'search') {
if ($matchvalue eq 'userid') {
if ($matchstr) {
my $stored_matchstr = $matchstr;
- detaint_natural($matchstr)
+ detaint_natural($matchstr)
|| ThrowUserError('illegal_user_id', {userid => $stored_matchstr});
}
$expr = "profiles.userid";
@@ -233,7 +233,7 @@ if ($action eq 'search') {
# Lock tables during the check+update session.
$dbh->bz_start_transaction();
-
+
$editusers || $user->can_see_user($otherUser)
|| ThrowUserError('auth_failure', {reason => "not_visible",
action => "modify",
@@ -367,7 +367,7 @@ if ($action eq 'search') {
my $otherUser = check_user($otherUserID, $otherUserLogin);
$otherUserID = $otherUser->id;
- Bugzilla->params->{'allowuserdeletion'}
+ Bugzilla->params->{'allowuserdeletion'}
|| ThrowUserError('users_deletion_disabled');
$editusers || ThrowUserError('auth_failure', {group => "editusers",
action => "delete",
@@ -664,8 +664,8 @@ if ($action eq 'search') {
my $activity_userid = "profiles_activity.userid";
if ($action eq 'admin_activity') {
- $editusers || ThrowUserError("auth_failure", { group => "editusers",
- action => "admin_activity",
+ $editusers || ThrowUserError("auth_failure", { group => "editusers",
+ action => "admin_activity",
object => "users" });
($activity_userid, $activity_who) = ($activity_who, $activity_userid);
}
@@ -806,7 +806,7 @@ sub userDataToVars {
(CASE WHEN (groups.id IN ($grouplist)
AND COUNT(directmember.group_id) = 0
AND COUNT(regexpmember.group_id) = 0
- ) THEN 1 ELSE 0 END)
+ ) THEN 1 ELSE 0 END)
AS derivedmember,
COUNT(directbless.group_id) AS directbless
FROM groups