]> git.mxchange.org Git - friendica.git/commitdiff
Remove dbstructure update
authorPhilipp <admin@philipp.info>
Sun, 19 Feb 2023 10:31:22 +0000 (11:31 +0100)
committerPhilipp <admin@philipp.info>
Sun, 19 Feb 2023 10:31:22 +0000 (11:31 +0100)
database.sql
static/dbstructure.config.php
update.php

index 053f0c7279b6ad1a8116517728d569cd7b95af0d..e890d7421a232e9ab313b1e272f3d50208d5943d 100644 (file)
@@ -1,6 +1,6 @@
 -- ------------------------------------------
 -- Friendica 2023.03-dev (Giant Rhubarb)
--- DB_UPDATE_VERSION 1515
+-- DB_UPDATE_VERSION 1514
 -- ------------------------------------------
 
 
index 83c890915df78719f97a901c730b058fc1552479..dcab1d0c8720095d28bc72be089b7dd25ad19b01 100644 (file)
@@ -55,7 +55,7 @@
 use Friendica\Database\DBA;
 
 if (!defined('DB_UPDATE_VERSION')) {
-       define('DB_UPDATE_VERSION', 1515);
+       define('DB_UPDATE_VERSION', 1514);
 }
 
 return [
index 63afae8d835b1a5466c30551c93e8e146a5acfbf..86735f864c0e8b2a9d146a95e79529aa14385b40 100644 (file)
@@ -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;
-}