diff options
author | Mario <mario@mariovavti.com> | 2024-02-28 10:19:57 +0000 |
---|---|---|
committer | Mario <mario@mariovavti.com> | 2024-02-28 10:19:57 +0000 |
commit | 02a0af3eef08e329fda17f61459865c60c91bf4b (patch) | |
tree | 09d4ff5a3dd63c741444a9425e0025002fa87750 | |
parent | 96e831663357280de044553d52dbf33dbf1a7dbb (diff) | |
download | volse-hubzilla-02a0af3eef08e329fda17f61459865c60c91bf4b.tar.gz volse-hubzilla-02a0af3eef08e329fda17f61459865c60c91bf4b.tar.bz2 volse-hubzilla-02a0af3eef08e329fda17f61459865c60c91bf4b.zip |
remove poke and mood from apps
-rw-r--r-- | Zotlabs/Update/_1263.php | 26 | ||||
-rw-r--r-- | boot.php | 2 |
2 files changed, 27 insertions, 1 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; + + } + +} @@ -65,7 +65,7 @@ define('PLATFORM_NAME', 'hubzilla'); define('STD_VERSION', '8.9.8'); define('ZOT_REVISION', '6.0'); -define('DB_UPDATE_VERSION', 1262); +define('DB_UPDATE_VERSION', 1263); define('PROJECT_BASE', __DIR__); |