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 053f0c7..e890d74 100644 (file)
@@ -1,6 +1,6 @@
 -- ------------------------------------------
 -- Friendica 2023.03-dev (Giant Rhubarb)
--- DB_UPDATE_VERSION 1515
+-- DB_UPDATE_VERSION 1514
 -- ------------------------------------------
 
 
index 83c8909..dcab1d0 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 63afae8..86735f8 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;
-}