From d29ecc8b03173f56f0b4c11c5ba4a2ba64b0009e Mon Sep 17 00:00:00 2001 From: =?utf8?q?Sven=20Sch=C3=B6ling?= Date: Fri, 16 Nov 2012 18:18:41 +0100 Subject: [PATCH] cleanup fix --- SL/DB/Manager/CsvImportReport.pm | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/SL/DB/Manager/CsvImportReport.pm b/SL/DB/Manager/CsvImportReport.pm index 370a6c97f..0a8fe2a28 100644 --- a/SL/DB/Manager/CsvImportReport.pm +++ b/SL/DB/Manager/CsvImportReport.pm @@ -15,9 +15,7 @@ sub cleanup { # get expired reports my $objects = $self->get_all(query => [ - session_id => [ - not => [ $::auth->active_session_ids ] - ] + '!session_id' => [ $::auth->active_session_ids ] ]); $_->destroy for @$objects; -- 2.20.1