diff options
author | Arthur Schiwon <blizzz@owncloud.com> | 2014-04-16 17:29:17 +0200 |
---|---|---|
committer | Arthur Schiwon <blizzz@owncloud.com> | 2014-06-02 12:53:56 +0200 |
commit | 2a8afb0ad97fde372b444a1d9f14443886537bae (patch) | |
tree | fb88d9295e24ba0286bbaccacfa91049d469f8cd | |
parent | 249e42c4cdf81c2d1c294a5535c055cdfee992b4 (diff) | |
download | nextcloud-server-2a8afb0ad97fde372b444a1d9f14443886537bae.tar.gz nextcloud-server-2a8afb0ad97fde372b444a1d9f14443886537bae.zip |
add PHP doc
-rw-r--r-- | lib/private/user/user.php | 3 |
1 files changed, 3 insertions, 0 deletions
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); |