aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMario <mario@mariovavti.com>2022-05-19 08:04:39 +0000
committerMario <mario@mariovavti.com>2022-05-19 08:04:39 +0000
commit8ba47450970bab036664f03a558917c13d8c1574 (patch)
treed74696713788b4c4a0ef7bdc198acbdf8f50d714
parent940a0c8b10bcd25b5968820bbb02b0c900f33ebb (diff)
downloadvolse-hubzilla-8ba47450970bab036664f03a558917c13d8c1574.tar.gz
volse-hubzilla-8ba47450970bab036664f03a558917c13d8c1574.tar.bz2
volse-hubzilla-8ba47450970bab036664f03a558917c13d8c1574.zip
update to remove core apps (wiki, cards, articles) which have been moved to addons
-rw-r--r--Zotlabs/Update/_1253.php23
-rw-r--r--boot.php4
2 files changed, 25 insertions, 2 deletions
diff --git a/Zotlabs/Update/_1253.php b/Zotlabs/Update/_1253.php
new file mode 100644
index 000000000..3b0e6899a
--- /dev/null
+++ b/Zotlabs/Update/_1253.php
@@ -0,0 +1,23 @@
+<?php
+
+namespace Zotlabs\Update;
+
+class _1253 {
+
+ function run() {
+
+ dbq("START TRANSACTION");
+
+ $r = dbq("DELETE FROM app WHERE app_name IN ('Wiki', 'Cards', 'Articles') AND app_plugin = ''");
+
+ if($r) {
+ dbq("COMMIT");
+ return UPDATE_SUCCESS;
+ }
+
+ dbq("ROLLBACK");
+ return UPDATE_FAILED;
+
+ }
+
+}
diff --git a/boot.php b/boot.php
index a623ff42e..e95f2efd5 100644
--- a/boot.php
+++ b/boot.php
@@ -60,10 +60,10 @@ require_once('include/bbcode.php');
require_once('include/items.php');
define('PLATFORM_NAME', 'hubzilla');
-define('STD_VERSION', '7.3.2');
+define('STD_VERSION', '7.3.3');
define('ZOT_REVISION', '6.0');
-define('DB_UPDATE_VERSION', 1252);
+define('DB_UPDATE_VERSION', 1253);
define('PROJECT_BASE', __DIR__);