1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-11-08 20:22:42 +01:00

Exclude invalid activities

This commit is contained in:
Hillel Coren 2016-10-06 11:20:09 +03:00
parent ce07764388
commit 26b8c3637b

View File

@ -92,6 +92,7 @@ class CheckData extends Command {
$count = DB::table('activities')
->where('activity_type_id', '=', 5)
->where('json_backup', '=', '')
->whereNotIn('id', [634386, 756352, 756353, 756356])
->count();
if ($count > 0) {