Clear history on login
This commit is contained in:
parent
6c105d5978
commit
58a0f0fa05
1 changed files with 2 additions and 1 deletions
|
|
@ -12,7 +12,8 @@ class HistoryUtils
|
|||
public static function loadHistory($users)
|
||||
{
|
||||
$userIds = [];
|
||||
|
||||
session([RECENTLY_VIEWED => false]);
|
||||
|
||||
if (is_array($users)) {
|
||||
foreach ($users as $user) {
|
||||
$userIds[] = $user->user_id;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue