1
0
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:
Thomas Tanghus 2014-03-18 15:15:08 +01:00
parent 54c79d65c5
commit f7811490a2

View File

@ -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);
}