aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs
diff options
context:
space:
mode:
authorMario <mario@mariovavti.com>2024-02-28 10:19:57 +0000
committerMario <mario@mariovavti.com>2024-02-28 10:19:57 +0000
commit02a0af3eef08e329fda17f61459865c60c91bf4b (patch)
tree09d4ff5a3dd63c741444a9425e0025002fa87750 /Zotlabs
parent96e831663357280de044553d52dbf33dbf1a7dbb (diff)
downloadvolse-hubzilla-02a0af3eef08e329fda17f61459865c60c91bf4b.tar.gz
volse-hubzilla-02a0af3eef08e329fda17f61459865c60c91bf4b.tar.bz2
volse-hubzilla-02a0af3eef08e329fda17f61459865c60c91bf4b.zip
remove poke and mood from apps
Diffstat (limited to 'Zotlabs')
-rw-r--r--Zotlabs/Update/_1263.php26
1 files changed, 26 insertions, 0 deletions
diff --git a/Zotlabs/Update/_1263.php b/Zotlabs/Update/_1263.php
new file mode 100644
index 000000000..bd12e7321
--- /dev/null
+++ b/Zotlabs/Update/_1263.php
@@ -0,0 +1,26 @@
+<?php
+
+namespace Zotlabs\Update;
+
+class _1263 {
+
+ function run() {
+
+ dbq("START TRANSACTION");
+
+ $poke = hash('whirlpool', 'Poke');
+ $mood = hash('whirlpool', 'Mood');
+
+ $r = dbq("DELETE FROM app WHERE (app_id = '$poke' OR app_id = '$mood') AND app_system = 1");
+
+ if($r) {
+ dbq("COMMIT");
+ return UPDATE_SUCCESS;
+ }
+
+ dbq("ROLLBACK");
+ return UPDATE_FAILED;
+
+ }
+
+}