From: Philipp <admin@philipp.info>
Date: Thu, 5 Jan 2023 01:40:38 +0000 (+0100)
Subject: Don't wipe `config` or `addon` data
X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=b38141211cdfe42ff1713cf45e254a2a05154438;p=friendica.git

Don't wipe `config` or `addon` data
---

diff --git a/update.php b/update.php
index 584b8d788c..cf94b5679d 100644
--- a/update.php
+++ b/update.php
@@ -1192,7 +1192,7 @@ function update_1508()
 
 	$newConfig->commit();
 
-	return DBA::e("TRUNCATE TABLE `config`") ? Update::SUCCESS : Update::FAILED;
+	return Update::SUCCESS;
 }
 
 function update_1509()
@@ -1210,5 +1210,5 @@ function update_1509()
 
 	$newConfig->commit();
 
-	return DBA::e("TRUNCATE TABLE `addon`") ? Update::SUCCESS : Update::FAILED;
+	return Update::SUCCESS;
 }