From: Philipp Holzer Date: Sun, 21 Jul 2019 12:34:42 +0000 (+0200) Subject: Fix DB_UPDATE_VERSION constant X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=7aa9917ca8bf9a22f06c799b2cd73df850b75460;p=friendica.git Fix DB_UPDATE_VERSION constant --- 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)