aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Update
diff options
context:
space:
mode:
authorMario Vavti <mario@mariovavti.com>2018-10-06 20:48:29 +0200
committerMario Vavti <mario@mariovavti.com>2018-10-06 20:48:29 +0200
commit6ffdf3880f89b83c701f866a6188ef6f079078c5 (patch)
treeb6c0c7cad557e8743d1c9ca97dfa223ce475dc99 /Zotlabs/Update
parent66cf0852728d2f95ed3a5b7a304dbc7b79111831 (diff)
downloadvolse-hubzilla-6ffdf3880f89b83c701f866a6188ef6f079078c5.tar.gz
volse-hubzilla-6ffdf3880f89b83c701f866a6188ef6f079078c5.tar.bz2
volse-hubzilla-6ffdf3880f89b83c701f866a6188ef6f079078c5.zip
another db update to get rid of the old view bookmarks entries
Diffstat (limited to 'Zotlabs/Update')
-rw-r--r--Zotlabs/Update/_1223.php23
1 files changed, 23 insertions, 0 deletions
diff --git a/Zotlabs/Update/_1223.php b/Zotlabs/Update/_1223.php
new file mode 100644
index 000000000..c6f05c806
--- /dev/null
+++ b/Zotlabs/Update/_1223.php
@@ -0,0 +1,23 @@
+<?php
+
+namespace Zotlabs\Update;
+
+class _1223 {
+
+ function run() {
+
+ q("START TRANSACTION");
+
+ $r1 = q("DELETE FROM app WHERE app_name = 'View Bookmarks' and app_system = 1");
+
+ if($r1) {
+ q("COMMIT");
+ return UPDATE_SUCCESS;
+ }
+
+ q("ROLLBACK");
+ return UPDATE_FAILED;
+
+ }
+
+}