mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-11-09 12:42:36 +01:00
Clear history on login
This commit is contained in:
parent
6c105d5978
commit
58a0f0fa05
@ -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…
Reference in New Issue
Block a user