mirror of
https://github.com/friendica/friendica
synced 2025-04-27 13:50:12 +00:00
Move Temporal::convert() to DateTimeFormat::convert()
This commit is contained in:
parent
b7a7355292
commit
5e7285b9ba
64 changed files with 568 additions and 551 deletions
|
@ -9,7 +9,7 @@ use Friendica\Core\PConfig;
|
|||
use Friendica\Core\System;
|
||||
use Friendica\Database\DBM;
|
||||
use Friendica\Network\FKOAuthDataStore;
|
||||
use Friendica\Util\Temporal;
|
||||
use Friendica\Util\DateTimeFormat;
|
||||
use dba;
|
||||
use OAuthServer;
|
||||
use OAuthSignatureMethod_HMAC_SHA1;
|
||||
|
@ -68,7 +68,7 @@ class FKOAuth1 extends OAuthServer
|
|||
$_SESSION['cid'] = $a->cid;
|
||||
}
|
||||
|
||||
dba::update('user', ['login_date' => Temporal::utcNow()], ['uid' => $_SESSION['uid']]);
|
||||
dba::update('user', ['login_date' => DateTimeFormat::utcNow()], ['uid' => $_SESSION['uid']]);
|
||||
|
||||
Addon::callHooks('logged_in', $a->user);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue