cleanup fix
authorSven Schöling <s.schoeling@linet-services.de>
Fri, 16 Nov 2012 17:18:41 +0000 (18:18 +0100)
committerSven Schöling <s.schoeling@linet-services.de>
Fri, 11 Jan 2013 12:58:07 +0000 (13:58 +0100)
SL/DB/Manager/CsvImportReport.pm

index 370a6c9..0a8fe2a 100644 (file)
@@ -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;