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:
Meik Sievertsen 2006-06-21 16:42:24 +00:00
parent 0346b9da37
commit d8137406e2

View file

@ -2479,7 +2479,10 @@ function tidy_database()
{ {
global $db; 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); recalc_btree('forum_id', FORUMS_TABLE);
// Recalculate binary tree for modules // Recalculate binary tree for modules
@ -2494,6 +2497,9 @@ function tidy_database()
} }
$db->sql_freeresult($result); $db->sql_freeresult($result);
// remove cache files.
*/
set_config('database_last_gc', time(), true); set_config('database_last_gc', time(), true);
} }