[Pkg-owncloud-commits] [owncloud] 32/95: Return milliseconds instead of seconds for lastLogin - refs #14005

David Prévot taffit at moszumanska.debian.org
Wed Mar 11 15:49:46 UTC 2015


This is an automated email from the git hooks/post-receive script.

taffit pushed a commit to annotated tag v8.0.1
in repository owncloud.

commit 159d1e4ce79137e23ec3b6c876913c7b5832f1c2
Author: Thomas Müller <thomas.mueller at tmit.eu>
Date:   Mon Feb 16 17:41:44 2015 +0100

    Return milliseconds instead of seconds for lastLogin - refs #14005
---
 settings/controller/userscontroller.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/settings/controller/userscontroller.php b/settings/controller/userscontroller.php
index 80fb816..a20cbb4 100644
--- a/settings/controller/userscontroller.php
+++ b/settings/controller/userscontroller.php
@@ -154,7 +154,7 @@ class UsersController extends Controller {
 			'subadmin' => \OC_SubAdmin::getSubAdminsGroups($user->getUID()),
 			'quota' => $this->config->getUserValue($user->getUID(), 'files', 'quota', 'default'),
 			'storageLocation' => $user->getHome(),
-			'lastLogin' => $user->getLastLogin(),
+			'lastLogin' => $user->getLastLogin() * 1000,
 			'backend' => $user->getBackendClassName(),
 			'email' => $this->config->getUserValue($user->getUID(), 'settings', 'email', ''),
 			'isRestoreDisabled' => !$restorePossible,

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-owncloud/owncloud.git



More information about the Pkg-owncloud-commits mailing list