aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Update
diff options
context:
space:
mode:
authorMario <mario@mariovavti.com>2022-01-26 18:40:02 +0000
committerMario <mario@mariovavti.com>2022-01-26 18:40:02 +0000
commitb022703b0b15ad8ba11c243f0274cadfae8e96c6 (patch)
treed2038f001a3a49538baee30f7cae3038d6ddc48a /Zotlabs/Update
parente8069c0d932aae60564cbd944a4aa3372bc9507d (diff)
downloadvolse-hubzilla-b022703b0b15ad8ba11c243f0274cadfae8e96c6.tar.gz
volse-hubzilla-b022703b0b15ad8ba11c243f0274cadfae8e96c6.tar.bz2
volse-hubzilla-b022703b0b15ad8ba11c243f0274cadfae8e96c6.zip
update to remove the mail app
Diffstat (limited to 'Zotlabs/Update')
-rw-r--r--Zotlabs/Update/_1252.php23
1 files changed, 23 insertions, 0 deletions
diff --git a/Zotlabs/Update/_1252.php b/Zotlabs/Update/_1252.php
new file mode 100644
index 000000000..97bb58d9d
--- /dev/null
+++ b/Zotlabs/Update/_1252.php
@@ -0,0 +1,23 @@
+<?php
+
+namespace Zotlabs\Update;
+
+class _1252 {
+
+ function run() {
+
+ dbq("START TRANSACTION");
+
+ $r = dbq("DELETE FROM app WHERE app_plugin = 'mail' AND app_system = 1");
+
+ if($r) {
+ dbq("COMMIT");
+ return UPDATE_SUCCESS;
+ }
+
+ dbq("ROLLBACK");
+ return UPDATE_FAILED;
+
+ }
+
+}