mirror of
https://github.com/flarum/core.git
synced 2025-08-04 15:37:51 +02:00
"See" a user on the initial page load too
This commit is contained in:
@@ -404,6 +404,13 @@ class User extends Model
|
||||
return $this;
|
||||
}
|
||||
|
||||
public function updateLastSeen()
|
||||
{
|
||||
$this->last_seen_time = time();
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Check whether or not the user is an administrator.
|
||||
*
|
||||
|
Reference in New Issue
Block a user