1
0
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:
Hillel Coren 2018-02-15 10:49:46 +02:00
parent 6c105d5978
commit 58a0f0fa05

View File

@ -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;