diff options
| author | Meik Sievertsen <acydburn@phpbb.com> | 2006-06-21 16:42:24 +0000 |
|---|---|---|
| committer | Meik Sievertsen <acydburn@phpbb.com> | 2006-06-21 16:42:24 +0000 |
| commit | d8137406e2e965a8193b204c2a00637766bb8641 (patch) | |
| tree | 2dc8b6c2075c4f0a9f367e75f20c6ef0faa46b73 /phpBB | |
| parent | 0346b9da372c4e7309dffd14a2a1c77efcf3493a (diff) | |
| download | forums-d8137406e2e965a8193b204c2a00637766bb8641.tar forums-d8137406e2e965a8193b204c2a00637766bb8641.tar.gz forums-d8137406e2e965a8193b204c2a00637766bb8641.tar.bz2 forums-d8137406e2e965a8193b204c2a00637766bb8641.tar.xz forums-d8137406e2e965a8193b204c2a00637766bb8641.zip | |
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
Diffstat (limited to 'phpBB')
| -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); } |
