aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs
diff options
context:
space:
mode:
authorMario <mario@mariovavti.com>2020-01-18 20:13:09 +0000
committerMario <mario@mariovavti.com>2020-01-18 20:13:09 +0000
commit74041838300ee2e20843f68fdaccb2a33b3fa3cb (patch)
tree25c8759e1970c8724570471f6ab926a01ddeb23b /Zotlabs
parent43aea3ce38bf6fd9c5b778dc71a977eca711c26d (diff)
downloadvolse-hubzilla-74041838300ee2e20843f68fdaccb2a33b3fa3cb.tar.gz
volse-hubzilla-74041838300ee2e20843f68fdaccb2a33b3fa3cb.tar.bz2
volse-hubzilla-74041838300ee2e20843f68fdaccb2a33b3fa3cb.zip
missing update file
Diffstat (limited to 'Zotlabs')
-rw-r--r--Zotlabs/Update/_1235.php25
1 files changed, 25 insertions, 0 deletions
diff --git a/Zotlabs/Update/_1235.php b/Zotlabs/Update/_1235.php
new file mode 100644
index 000000000..e457a35d2
--- /dev/null
+++ b/Zotlabs/Update/_1235.php
@@ -0,0 +1,25 @@
+<?php
+
+namespace Zotlabs\Update;
+
+class _1235 {
+
+ function run() {
+
+ q("START TRANSACTION");
+
+ $r = q("DELETE FROM app WHERE app_name = '%s' AND app_system = 1",
+ dbesc('Mail')
+ );
+
+ if($r) {
+ q("COMMIT");
+ return UPDATE_SUCCESS;
+ }
+
+ q("ROLLBACK");
+ return UPDATE_FAILED;
+
+ }
+
+}