mirror of
https://git.friendi.ca/friendica/friendica.git
synced 2025-06-10 09:04:27 +02:00
Add a lot of log-points
This commit is contained in:
parent
464fdb955c
commit
e4a83eafb8
8 changed files with 189 additions and 65 deletions
|
@ -67,6 +67,12 @@ class TrustedBrowser extends BaseEntity
|
|||
$this->last_used = $last_used;
|
||||
}
|
||||
|
||||
/**
|
||||
* Records if the trusted browser was used
|
||||
*
|
||||
* @return void
|
||||
* @throws \Exception unexpected DateTime exception happened
|
||||
*/
|
||||
public function recordUse()
|
||||
{
|
||||
$this->last_used = DateTimeFormat::utcNow();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue