revert: Added TorrentPier instance hash generation

This commit is contained in:
Roman Kelesidis 2025-03-25 14:02:35 +03:00
commit eabf851ee6
6 changed files with 3 additions and 14 deletions

View file

@ -59,10 +59,5 @@ if (IN_DEMO_MODE) {
DB()->query("UPDATE " . BB_FORUMS . " SET allow_reg_tracker = 1 WHERE allow_reg_tracker = 0 AND forum_id = 1 LIMIT 1");
}
// Create unique TorrentPier instance hash
if (empty($bb_cfg['tp_instance_hash']) || ($bb_cfg['tp_instance_hash'] !== hash('xxh128', FULL_URL))) {
bb_update_config(['tp_instance_hash' => hash('xxh128', FULL_URL)]);
}
// Check for updates
$datastore->update('check_updates');