Return milliseconds instead of seconds for lastLogin - refs #14005

remotes/origin/log-external-deletes
Thomas Müller 10 years ago
parent 9271059195
commit 3c75a440a6
  1. 2
      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,

Loading…
Cancel
Save