Skip to content

Commit

Permalink
Reverted back to the original tool
Browse files Browse the repository at this point in the history
  • Loading branch information
mohamedary committed Aug 25, 2021
1 parent 4fb9766 commit 8a74aae
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions src/Http/Controllers/LanguageController.php
Original file line number Diff line number Diff line change
Expand Up @@ -33,13 +33,6 @@ private function editConfigurationFile(string $path, string $key, array $value,

switch($callback) {
case "localization":
foreach(\App\Models\Region::whereIsRoot()->get() as $region) {
if($region->segment)
foreach($value as $locale => $val) {
if(strlen($locale) == 2)
$value[$locale . '_' . $region->segment] = $val;
}
}
$configuration[$key] = $value;
break;
case "editor":
Expand Down

0 comments on commit 8a74aae

Please sign in to comment.