From 366d798e38724c4b4141f5acbe67bc00a794aee3 Mon Sep 17 00:00:00 2001
From: Philipp <admin@philipp.info>
Date: Sun, 19 Feb 2023 11:31:22 +0100
Subject: [PATCH] Remove dbstructure update

---
 database.sql                  |  2 +-
 static/dbstructure.config.php |  2 +-
 update.php                    | 12 ------------
 3 files changed, 2 insertions(+), 14 deletions(-)

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;
-}
-- 
2.39.5