remove poke and mood from apps

This commit is contained in:
Mario
2024-02-28 10:19:57 +00:00
parent 96e8316633
commit 02a0af3eef
2 changed files with 27 additions and 1 deletions

26
Zotlabs/Update/_1263.php Normal file
View File

@@ -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;
}
}

View File

@@ -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__);