diff options
-rw-r--r-- | phpBB/includes/functions_admin.php | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/phpBB/includes/functions_admin.php b/phpBB/includes/functions_admin.php index a83e34e09a..a7935965cf 100644 --- a/phpBB/includes/functions_admin.php +++ b/phpBB/includes/functions_admin.php @@ -2479,7 +2479,10 @@ function tidy_database() { global $db; - // Recalculate binary tree for forums + // Disabling recalculating the binary tree for the moment + // It might be the source of some severe problems with broken trees + + /* Recalculate binary tree for forums recalc_btree('forum_id', FORUMS_TABLE); // Recalculate binary tree for modules @@ -2494,6 +2497,9 @@ function tidy_database() } $db->sql_freeresult($result); + // remove cache files. +*/ + set_config('database_last_gc', time(), true); } |