aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Update/_1234.php
diff options
context:
space:
mode:
authorMario Vavti <mario@mariovavti.com>2019-06-04 10:19:04 +0200
committerMario Vavti <mario@mariovavti.com>2019-06-04 10:19:04 +0200
commite4ca3609d90bb437061e4b8db95ed0424b25eb76 (patch)
treeaa070e40ab01cb1354cbf879a0fb8b2f570631d5 /Zotlabs/Update/_1234.php
parent071fba2f7121aeb9690a21398935a53deac09af8 (diff)
parentbc092d8d7815195d62299c0ea54caa4759e6f2e7 (diff)
downloadvolse-hubzilla-e4ca3609d90bb437061e4b8db95ed0424b25eb76.tar.gz
volse-hubzilla-e4ca3609d90bb437061e4b8db95ed0424b25eb76.tar.bz2
volse-hubzilla-e4ca3609d90bb437061e4b8db95ed0424b25eb76.zip
Merge branch '4.2RC'4.2
Diffstat (limited to 'Zotlabs/Update/_1234.php')
-rw-r--r--Zotlabs/Update/_1234.php26
1 files changed, 26 insertions, 0 deletions
diff --git a/Zotlabs/Update/_1234.php b/Zotlabs/Update/_1234.php
new file mode 100644
index 000000000..b1b3b0c4e
--- /dev/null
+++ b/Zotlabs/Update/_1234.php
@@ -0,0 +1,26 @@
+<?php
+
+namespace Zotlabs\Update;
+
+class _1234 {
+
+ function run() {
+
+ q("START TRANSACTION");
+
+ $r = q("DELETE FROM app WHERE app_name = '%s' OR app_name = '%s'",
+ dbesc('Events'),
+ dbesc('CalDAV')
+ );
+
+ if($r) {
+ q("COMMIT");
+ return UPDATE_SUCCESS;
+ }
+
+ q("ROLLBACK");
+ return UPDATE_FAILED;
+
+ }
+
+}