Skip to content
Snippets Groups Projects
Commit 20c5a3c7 authored by Dominik Hebeler's avatar Dominik Hebeler
Browse files

removed unused code

parent e6195966
No related branches found
No related tags found
2 merge requests!2010Development,!2001Resolve "Improve Localization"
...@@ -52,10 +52,6 @@ class StartpageController extends Controller ...@@ -52,10 +52,6 @@ class StartpageController extends Controller
if (in_array('autocomplete', array_keys($option_values))) { if (in_array('autocomplete', array_keys($option_values))) {
$autocomplete = $option_values['autocomplete']; $autocomplete = $option_values['autocomplete'];
} }
$lang = Localization::getLanguage();
if ($lang === 'de' || $lang === "en") {
$lang = 'all';
}
return view('index') return view('index')
->with('title', trans('titles.index')) ->with('title', trans('titles.index'))
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment