Ensure redundant directory deleted
This commit is contained in:
parent
a31cd1c407
commit
048e21f9b2
|
|
@ -102,6 +102,9 @@ class SelfUpdateController extends BaseController
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if(Storage::disk('base')->directoryExists('resources/lang'))
|
||||||
|
Storage::disk('base')->deleteDirectory('resources/lang');
|
||||||
|
|
||||||
nlog('Removing cache files');
|
nlog('Removing cache files');
|
||||||
|
|
||||||
Artisan::call('clear-compiled');
|
Artisan::call('clear-compiled');
|
||||||
|
|
|
||||||
|
|
@ -229,6 +229,11 @@ class CompanyImport implements ShouldQueue
|
||||||
'is_template',
|
'is_template',
|
||||||
]
|
]
|
||||||
],
|
],
|
||||||
|
'5.8.51' => [
|
||||||
|
CompanyGateway::class => [
|
||||||
|
'always_show_required_fields',
|
||||||
|
]
|
||||||
|
]
|
||||||
];
|
];
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
||||||
|
|
@ -288,6 +288,7 @@ trait GeneratesCounter
|
||||||
*/
|
*/
|
||||||
public function getNextProjectNumber(Project $project): string
|
public function getNextProjectNumber(Project $project): string
|
||||||
{
|
{
|
||||||
|
|
||||||
$entity_number = $this->getNextEntityNumber(Project::class, $project->client, false);
|
$entity_number = $this->getNextEntityNumber(Project::class, $project->client, false);
|
||||||
|
|
||||||
return $this->replaceUserVars($project, $entity_number);
|
return $this->replaceUserVars($project, $entity_number);
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue