aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Update
diff options
context:
space:
mode:
authorMario <mario@mariovavti.com>2021-09-08 07:43:40 +0000
committerMario <mario@mariovavti.com>2021-09-08 07:43:40 +0000
commit4c5f0a05c75cc66113f589a3ffe6df351abb1273 (patch)
tree15148d08a99f8375992e554a90e6d4333286a7cc /Zotlabs/Update
parent952407363e245d41986cfb90e4ccf509bddc7322 (diff)
parent977a55eb8423745e4d88257b704d3e36f7337b9f (diff)
downloadvolse-hubzilla-6.2.tar.gz
volse-hubzilla-6.2.tar.bz2
volse-hubzilla-6.2.zip
Merge branch '6.2RC'6.2
Diffstat (limited to 'Zotlabs/Update')
-rw-r--r--Zotlabs/Update/_1248.php27
1 files changed, 27 insertions, 0 deletions
diff --git a/Zotlabs/Update/_1248.php b/Zotlabs/Update/_1248.php
new file mode 100644
index 000000000..b61c6ed39
--- /dev/null
+++ b/Zotlabs/Update/_1248.php
@@ -0,0 +1,27 @@
+<?php
+
+namespace Zotlabs\Update;
+
+class _1248 {
+
+ function run() {
+
+ q("START TRANSACTION");
+
+ // remove possible bogus entries from xconfig
+ $r = dbq("DELETE FROM xconfig WHERE xchan = ''");
+
+ // remove gnu social app - it has been moved to addons unmaintained
+ $r1 = dbq("DELETE FROM app WHERE app_plugin = 'gnusoc'");
+
+ if($r && $r1) {
+ q("COMMIT");
+ return UPDATE_SUCCESS;
+ }
+
+ q("ROLLBACK");
+ return UPDATE_FAILED;
+
+ }
+
+}