From e2c1157cf6bbb98deff0990efa2d8a829370fdf5 Mon Sep 17 00:00:00 2001 From: Dave Lawrence Date: Fri, 23 Aug 2013 14:38:56 -0400 Subject: Bug 903387 - Backport bug 240437 (last_seen_date column) to BMO 4.2 --- Bugzilla.pm | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'Bugzilla.pm') 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; } -- cgit v1.2.3-24-g4f1b