From: Philipp Date: Sun, 19 Feb 2023 10:31:22 +0000 (+0100) Subject: Remove dbstructure update X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=366d798e38724c4b4141f5acbe67bc00a794aee3;p=friendica.git Remove dbstructure update --- diff --git a/database.sql b/database.sql index 053f0c7279..e890d7421a 100644 --- a/database.sql +++ b/database.sql @@ -1,6 +1,6 @@ -- ------------------------------------------ -- Friendica 2023.03-dev (Giant Rhubarb) --- DB_UPDATE_VERSION 1515 +-- DB_UPDATE_VERSION 1514 -- ------------------------------------------ diff --git a/static/dbstructure.config.php b/static/dbstructure.config.php index 83c890915d..dcab1d0c87 100644 --- a/static/dbstructure.config.php +++ b/static/dbstructure.config.php @@ -55,7 +55,7 @@ use Friendica\Database\DBA; if (!defined('DB_UPDATE_VERSION')) { - define('DB_UPDATE_VERSION', 1515); + define('DB_UPDATE_VERSION', 1514); } return [ diff --git a/update.php b/update.php index 63afae8d83..86735f864c 100644 --- a/update.php +++ b/update.php @@ -1287,15 +1287,3 @@ function update_1514() return Update::SUCCESS; } - -function update_1515() -{ - DI::config() - ->beginTransaction() - ->delete('config', 'hostname') - ->delete('system', 'urlpath') - ->delete('system', 'ssl_policy') - ->commit(); - - return Update::SUCCESS; -}