From 7aa9917ca8bf9a22f06c799b2cd73df850b75460 Mon Sep 17 00:00:00 2001 From: Philipp Holzer Date: Sun, 21 Jul 2019 14:34:42 +0200 Subject: [PATCH] Fix DB_UPDATE_VERSION constant --- src/Database/Database.php | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/Database/Database.php b/src/Database/Database.php index 495e7d93d5..c503416912 100644 --- a/src/Database/Database.php +++ b/src/Database/Database.php @@ -57,6 +57,11 @@ class Database $this->connect(); DBA::init($this); + + if ($this->isConnected()) { + // Loads DB_UPDATE_VERSION constant + DBStructure::definition($configCache->get('system', 'basepath'), false); + } } private function readServerVariables(array $server) -- 2.39.5