diff options
author | Thomas Lange <code@nerdmind.de> | 2021-07-28 17:04:04 +0200 |
---|---|---|
committer | Thomas Lange <code@nerdmind.de> | 2021-07-28 17:37:04 +0200 |
commit | 3b01b602c6a10c26aebcfc6076c3f95b735091f2 (patch) | |
tree | 8eb02a258906970cf3087c352f2f449202a78d9e /core/migrations.php | |
parent | 1017a99e81d0445a8614917a1798bbd02d88d14e (diff) | |
download | blog-3b01b602c6a10c26aebcfc6076c3f95b735091f2.tar.gz blog-3b01b602c6a10c26aebcfc6076c3f95b735091f2.tar.xz blog-3b01b602c6a10c26aebcfc6076c3f95b735091f2.zip |
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.
Diffstat (limited to 'core/migrations.php')
-rw-r--r-- | core/migrations.php | 1 |
1 files changed, 0 insertions, 1 deletions
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()) { |