summaryrefslogtreecommitdiffstats
path: root/Bugzilla.pm
diff options
context:
space:
mode:
authorDave Lawrence <dlawrence@mozilla.com>2013-08-23 20:38:56 +0200
committerDave Lawrence <dlawrence@mozilla.com>2013-08-23 20:38:56 +0200
commite2c1157cf6bbb98deff0990efa2d8a829370fdf5 (patch)
treecca3e2afdbd33ebda36e5e5da147706780c50f4e /Bugzilla.pm
parent1f870a8b3f88cc77319dec50380fc4554f34793e (diff)
downloadbugzilla-e2c1157cf6bbb98deff0990efa2d8a829370fdf5.tar.gz
bugzilla-e2c1157cf6bbb98deff0990efa2d8a829370fdf5.tar.xz
Bug 903387 - Backport bug 240437 (last_seen_date column) to BMO 4.2
Diffstat (limited to 'Bugzilla.pm')
-rw-r--r--Bugzilla.pm6
1 files changed, 6 insertions, 0 deletions
diff --git a/Bugzilla.pm b/Bugzilla.pm
index 586e031ff..9a3b75756 100644
--- a/Bugzilla.pm
+++ b/Bugzilla.pm
@@ -376,6 +376,12 @@ sub login {
$class->set_user($authenticated_user);
}
+ if (Bugzilla->sudoer) {
+ Bugzilla->sudoer->update_last_seen_date();
+ } else {
+ $class->user->update_last_seen_date();
+ }
+
return $class->user;
}