- team members fix

This commit is contained in:
Čarodej
2022-05-08 10:35:44 +02:00
parent 1331409920
commit 70fe106e45
8 changed files with 24 additions and 4 deletions

View File

@@ -18,7 +18,7 @@ class StoreFileChunksAction
$file = $request->file('file');
// Get chunk name
$name = $file->getClientOriginalName() . '.' . $request->input('extension');
$name = $file->getClientOriginalName();
// Get chunk file path
$path = Storage::disk('local')->path("chunks/$name");

View File

@@ -1,6 +1,7 @@
<?php
namespace Domain\Localization\Actions;
use Artisan;
use DB;
class UpdateLanguageTranslationsAction
@@ -14,5 +15,7 @@ class UpdateLanguageTranslationsAction
->where('key', $item[1])
->update(['value' => $item[0]])
);
Artisan::call('cache:clear');
}
}

View File

@@ -22,6 +22,13 @@ class UpgradingVersionsController
) {
}
public function upgrade_to_2_1_2(): void
{
($this->updateLanguageStrings)([
'allow_recaptcha' => 'Allow ReCaptcha v3',
]);
}
public function upgrade_to_2_1_1(): void
{
($this->upgradeDatabase)();