summaryrefslogtreecommitdiffstats
path: root/Bugzilla.pm
diff options
context:
space:
mode:
authorByron Jones <bjones@mozilla.com>2012-01-24 08:13:22 +0100
committerByron Jones <bjones@mozilla.com>2012-01-24 08:13:22 +0100
commit0284798a8cc4987c84805634a7a84d5d853a2168 (patch)
treec81fd47c1fadd9abb335c618959ac227107efb8e /Bugzilla.pm
parent96624a115fe60b8ebdbbecbc2b38a7566d4e4c59 (diff)
downloadbugzilla-0284798a8cc4987c84805634a7a84d5d853a2168.tar.gz
bugzilla-0284798a8cc4987c84805634a7a84d5d853a2168.tar.xz
Bug 240437: Add a "last seen date" column to the profiles table
r=LpSolit, a=LpSolit
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 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;
}