mirror of
https://github.com/owncloudarchive/contacts.git
synced 2024-12-01 13:24:10 +01:00
Add missing use arg to closure
This commit is contained in:
parent
54c79d65c5
commit
f7811490a2
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user