From: Arthur Schiwon Date: Wed, 16 Apr 2014 15:29:17 +0000 (+0200) Subject: add PHP doc X-Git-Tag: v7.0.0alpha2~144^2~43 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=2a8afb0ad97fde372b444a1d9f14443886537bae;p=nextcloud-server.git add PHP doc --- diff --git a/lib/private/user/user.php b/lib/private/user/user.php index 82f02e0f2b5..86a362ae758 100644 --- a/lib/private/user/user.php +++ b/lib/private/user/user.php @@ -259,6 +259,9 @@ class User { return $this->lastLogin; } + /** + * @brief updates the timestamp of the most recent login of this user + */ public function updateLastLogin() { $this->lastLogin = time(); \OC_Preferences::setValue($this->uid, 'login', 'lastLogin', $this->lastLogin);