mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-11-08 20:22:42 +01:00
Purge data right side bar #1599
This commit is contained in:
parent
a96e87ac77
commit
da25258a7a
@ -61,6 +61,8 @@ class PurgeAccountData extends Job
|
||||
$account->client_number_counter = $account->client_number_counter > 0 ? 1 : 0;
|
||||
$account->save();
|
||||
|
||||
session([RECENTLY_VIEWED => false]);
|
||||
|
||||
if (env('MULTI_DB_ENABLED')) {
|
||||
$current = config('database.default');
|
||||
config(['database.default' => DB_NINJA_LOOKUP]);
|
||||
|
Loading…
Reference in New Issue
Block a user