From 3b01b602c6a10c26aebcfc6076c3f95b735091f2 Mon Sep 17 00:00:00 2001 From: Thomas Lange Date: Wed, 28 Jul 2021 17:04:04 +0200 Subject: Migrator: Don't recreate Language object anymore Do not force the recreation of the Language object in the migrations.php file anymore by changing the include position of the migrations.php (and the functions.php) in the application.php file a bit to the top. --- core/migrations.php | 1 - 1 file changed, 1 deletion(-) (limited to 'core/migrations.php') diff --git a/core/migrations.php b/core/migrations.php index f2c9714..1ddeefd 100644 --- a/core/migrations.php +++ b/core/migrations.php @@ -12,7 +12,6 @@ if($Migrator->isMigrationNeeded()) { Application::set('TEMPLATE.NAME', Application::get('ADMIN.TEMPLATE')); Application::set('TEMPLATE.LANG', Application::get('ADMIN.LANGUAGE')); - Application::getLanguage(TRUE); // Force recreation of Language object if(HTTP::issetPOST(['token' => Application::getSecurityToken()], 'run')) { if(!$migrated = $Migrator->runMigrations()) { -- cgit v1.2.3