From 0284798a8cc4987c84805634a7a84d5d853a2168 Mon Sep 17 00:00:00 2001 From: Byron Jones Date: Tue, 24 Jan 2012 15:13:22 +0800 Subject: Bug 240437: Add a "last seen date" column to the profiles table r=LpSolit, a=LpSolit --- Bugzilla.pm | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'Bugzilla.pm') diff --git a/Bugzilla.pm b/Bugzilla.pm index 801ac8dfa..cbc9ec1ec 100644 --- a/Bugzilla.pm +++ b/Bugzilla.pm @@ -371,6 +371,12 @@ sub login { $class->set_user($authenticated_user); } + if ($class->sudoer) { + $class->sudoer->update_last_seen_date(); + } else { + $class->user->update_last_seen_date(); + } + return $class->user; } -- cgit v1.2.3-24-g4f1b