diff options
-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__); |