From 37722eca39874bb6abdcd120e3e458bd62dea62b Mon Sep 17 00:00:00 2001 From: Dylan William Hardison Date: Wed, 5 Jul 2017 11:43:18 -0700 Subject: Bug 1377933 - Remove trailing whitespace from all perl files --- extensions/OldBugMove/Extension.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'extensions/OldBugMove/Extension.pm') diff --git a/extensions/OldBugMove/Extension.pm b/extensions/OldBugMove/Extension.pm index 8394f99cf..1fa96c1ef 100644 --- a/extensions/OldBugMove/Extension.pm +++ b/extensions/OldBugMove/Extension.pm @@ -118,7 +118,7 @@ sub object_validators { my ($class, $validators) = @$args{qw(class validators)}; if ($class->isa('Bugzilla::Comment')) { my $extra_data_validator = $validators->{extra_data}; - $validators->{extra_data} = + $validators->{extra_data} = sub { _check_comment_extra_data($extra_data_validator, @_) }; } elsif ($class->isa('Bugzilla::Bug')) { @@ -170,7 +170,7 @@ sub _move_bug { my $dbh = Bugzilla->dbh; my $template = Bugzilla->template; - _user_is_mover(Bugzilla->user) + _user_is_mover(Bugzilla->user) or ThrowUserError("auth_failure", { action => 'move', object => 'bugs' }); -- cgit v1.2.3-24-g4f1b