aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPerl Tidy <perltidy@bugzilla.org>2019-01-31 20:50:06 -0500
committerDylan William Hardison <dylan@hardison.net>2019-01-31 21:02:46 -0500
commitf91e240aac65936bc9dee0f926cd6f1021f48fe0 (patch)
tree596aa9893d4526e646b9a64fd6c65706c8dd3340 /Bugzilla/Object.pm
parentadd perl-fmt script (diff)
downloadbugzilla-f91e240aac65936bc9dee0f926cd6f1021f48fe0.tar.gz
bugzilla-f91e240aac65936bc9dee0f926cd6f1021f48fe0.tar.bz2
bugzilla-f91e240aac65936bc9dee0f926cd6f1021f48fe0.zip
no bug - perltidy again, using the latest release
blame jeff
Diffstat (limited to 'Bugzilla/Object.pm')
-rw-r--r--Bugzilla/Object.pm8
1 files changed, 4 insertions, 4 deletions
diff --git a/Bugzilla/Object.pm b/Bugzilla/Object.pm
index 863eabc00..753ad9047 100644
--- a/Bugzilla/Object.pm
+++ b/Bugzilla/Object.pm
@@ -301,7 +301,7 @@ sub check {
sub match {
my ($invocant, $criteria) = @_;
my $class = ref($invocant) || $invocant;
- my $dbh = Bugzilla->dbh;
+ my $dbh = Bugzilla->dbh;
return [$class->get_all] if !$criteria;
@@ -547,7 +547,7 @@ sub update {
Bugzilla->memcached->clear({table => $table, id => $self->id});
Bugzilla->memcached->clear_config() if $self->IS_CONFIG;
}
- $self->_object_cache_remove({id => $self->id});
+ $self->_object_cache_remove({id => $self->id});
$self->_object_cache_remove({name => $self->name}) if $self->name;
if (wantarray) {
@@ -572,7 +572,7 @@ sub remove_from_db {
Bugzilla->memcached->clear({table => $table, id => $self->id});
Bugzilla->memcached->clear_config() if $self->IS_CONFIG;
}
- $self->_object_cache_remove({id => $self->id});
+ $self->_object_cache_remove({id => $self->id});
$self->_object_cache_remove({name => $self->name}) if $self->name;
undef $self;
}
@@ -595,7 +595,7 @@ sub audit_log {
# We put the object's name in the "added" or "removed" field.
# We do this thing with NAME_FIELD because $self->name returns
# the wrong thing for Bugzilla::User.
- my $name = $self->{$self->NAME_FIELD};
+ my $name = $self->{$self->NAME_FIELD};
my @added_removed = $changes eq AUDIT_CREATE ? (undef, $name) : ($name, undef);
$sth->execute($user_id, $class, $self->id, $changes, @added_removed);
return;