mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-09 03:14:30 -04:00
Minor cleanup
This commit is contained in:
parent
fb37fc40a3
commit
8d9f9468e1
@ -466,10 +466,9 @@ class CompanyExport implements ShouldQueue
|
|||||||
$storage_file_path = Storage::disk(config('filesystems.default'))->url('backups/'.$file_name);
|
$storage_file_path = Storage::disk(config('filesystems.default'))->url('backups/'.$file_name);
|
||||||
$storage_path = Storage::disk(config('filesystems.default'))->path('backups/'.$file_name);
|
$storage_path = Storage::disk(config('filesystems.default'))->path('backups/'.$file_name);
|
||||||
|
|
||||||
|
|
||||||
$url = Cache::get($this->hash);
|
$url = Cache::get($this->hash);
|
||||||
Cache::put($this->hash, $storage_path, now()->addHour());
|
Cache::put($this->hash, $storage_path, now()->addHour());
|
||||||
|
|
||||||
App::forgetInstance('translator');
|
App::forgetInstance('translator');
|
||||||
$t = app('translator');
|
$t = app('translator');
|
||||||
$t->replace(Ninja::transformTranslations($this->company->settings));
|
$t->replace(Ninja::transformTranslations($this->company->settings));
|
||||||
|
Loading…
x
Reference in New Issue
Block a user