mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-09 03:14:30 -04:00
Remove storage checks
This commit is contained in:
parent
a9b3522081
commit
4de240c3ab
@ -22,9 +22,9 @@ trait Uploadable
|
||||
{
|
||||
public function removeLogo($company)
|
||||
{
|
||||
if (Storage::exists($company->settings->company_logo)) {
|
||||
UnlinkFile::dispatchSync(config('filesystems.default'), $company->settings->company_logo);
|
||||
}
|
||||
//if (Storage::disk(config('filesystems.default'))->exists($company->settings->company_logo)) {
|
||||
(new UnlinkFile(config('filesystems.default'), $company->settings->company_logo))->handle();
|
||||
//}
|
||||
}
|
||||
|
||||
public function uploadLogo($file, $company, $entity)
|
||||
|
Loading…
x
Reference in New Issue
Block a user