mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-05-31 08:24:35 -04:00
Remove local file
This commit is contained in:
parent
bf690e5cb8
commit
c68fc24e2c
@ -498,6 +498,7 @@ class CompanyExport implements ShouldQueue
|
|||||||
|
|
||||||
if(Ninja::isHosted()) {
|
if(Ninja::isHosted()) {
|
||||||
Storage::disk(config('filesystems.default'))->put('backups/'.$file_name, file_get_contents($zip_path));
|
Storage::disk(config('filesystems.default'))->put('backups/'.$file_name, file_get_contents($zip_path));
|
||||||
|
unlink($zip_path);
|
||||||
}
|
}
|
||||||
|
|
||||||
App::forgetInstance('translator');
|
App::forgetInstance('translator');
|
||||||
|
Loading…
x
Reference in New Issue
Block a user