]> source.dussan.org Git - nextcloud-server.git/commitdiff
add PHP doc
authorArthur Schiwon <blizzz@owncloud.com>
Wed, 16 Apr 2014 15:29:17 +0000 (17:29 +0200)
committerArthur Schiwon <blizzz@owncloud.com>
Mon, 2 Jun 2014 10:53:56 +0000 (12:53 +0200)
lib/private/user/user.php

index 82f02e0f2b55be32de6cd1616d8335ff04218b50..86a362ae758e62bb85d5d16ca51f916a23f6edb9 100644 (file)
@@ -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);