diff --git a/lib/controller/importcontroller.php b/lib/controller/importcontroller.php index aadcb59b..86942215 100644 --- a/lib/controller/importcontroller.php +++ b/lib/controller/importcontroller.php @@ -186,7 +186,7 @@ class ImportController extends Controller { \OC_Cache::set($progresskey, $pct, 300); }; - $cleanup = function() use ($view, $filename, $progresskey) { + $cleanup = function() use ($view, $filename, $progresskey, $response) { if(!$view->unlink('/imports/' . $filename)) { $response->debug('Unable to unlink /imports/' . $filename); }