From: Sven Schöling Date: Fri, 16 Nov 2012 17:18:41 +0000 (+0100) Subject: cleanup fix X-Git-Tag: release-3.1.0beta1~722 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=d29ecc8b03173f56f0b4c11c5ba4a2ba64b0009e;p=kivitendo-erp.git cleanup fix --- 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;