summaryrefslogtreecommitdiffstats
path: root/extensions
diff options
context:
space:
mode:
authorByron Jones <glob@mozilla.com>2014-04-29 07:51:39 +0200
committerByron Jones <glob@mozilla.com>2014-04-29 07:51:39 +0200
commit801f64b3a10c6fd70f9e8c038f6fc48532b2fda1 (patch)
treee01ffdac2d04cc58ca5e08f0afb04d44783ea46c /extensions
parentc4da32d7639e12f7c9e07f95f093cadca8b23b42 (diff)
downloadbugzilla-801f64b3a10c6fd70f9e8c038f6fc48532b2fda1.tar.gz
bugzilla-801f64b3a10c6fd70f9e8c038f6fc48532b2fda1.tar.xz
fix broken auditing
Diffstat (limited to 'extensions')
-rw-r--r--extensions/BMO/Extension.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/extensions/BMO/Extension.pm b/extensions/BMO/Extension.pm
index 87c49ef95..05a329989 100644
--- a/extensions/BMO/Extension.pm
+++ b/extensions/BMO/Extension.pm
@@ -556,8 +556,8 @@ sub object_end_of_create {
} elsif ($class eq 'Bugzilla::Bug') {
# Log real IP addresses for auditing
- my $user = $args->{object};
- _syslog(sprintf('[audit] %s <%s> created bug %s', $user->login, remote_ip(), $args->{object}->id));
+ _syslog(sprintf('[audit] %s <%s> created bug %s',
+ Bugzilla->user->login, remote_ip(), $args->{object}->id));
}
}