mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-05 16:27:38 +02:00
disable recalculating the binary tree - this function might have a severe problem. :D And additionally it should not be needed anymore.
git-svn-id: file:///svn/phpbb/trunk@6111 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user