aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes
diff options
context:
space:
mode:
authorMeik Sievertsen <acydburn@phpbb.com>2006-07-14 12:59:55 +0000
committerMeik Sievertsen <acydburn@phpbb.com>2006-07-14 12:59:55 +0000
commitd10e5bfc1acc671b1028bfaa16b1dee24295a222 (patch)
tree2c40fa3dc36eb1937d8999482d5ba7c8eb2c45c2 /phpBB/includes
parentc4f2430645dbc8cba38c1ea3f08366034bba7127 (diff)
downloadforums-d10e5bfc1acc671b1028bfaa16b1dee24295a222.tar
forums-d10e5bfc1acc671b1028bfaa16b1dee24295a222.tar.gz
forums-d10e5bfc1acc671b1028bfaa16b1dee24295a222.tar.bz2
forums-d10e5bfc1acc671b1028bfaa16b1dee24295a222.tar.xz
forums-d10e5bfc1acc671b1028bfaa16b1dee24295a222.zip
add not applied sql_escape in memberlist
git-svn-id: file:///svn/phpbb/trunk@6178 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/includes')
-rw-r--r--phpBB/includes/functions.php1
-rw-r--r--phpBB/includes/functions_admin.php19
2 files changed, 0 insertions, 20 deletions
diff --git a/phpBB/includes/functions.php b/phpBB/includes/functions.php
index 13558acccf..e357435fcc 100644
--- a/phpBB/includes/functions.php
+++ b/phpBB/includes/functions.php
@@ -2834,7 +2834,6 @@ function page_footer()
else if (time() - $config['database_gc'] > $config['database_last_gc'])
{
// Tidy the database
- // This includes recalculation binary trees, ...
$cron_type = 'tidy_database';
}
else if (time() - $config['search_gc'] > $config['search_last_gc'])
diff --git a/phpBB/includes/functions_admin.php b/phpBB/includes/functions_admin.php
index 4fca718e06..52447ba6de 100644
--- a/phpBB/includes/functions_admin.php
+++ b/phpBB/includes/functions_admin.php
@@ -2488,26 +2488,7 @@ function tidy_database()
{
global $db;
- // 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
- $sql = 'SELECT module_class
- FROM ' . MODULES_TABLE . '
- GROUP BY module_class';
- $result = $db->sql_query($sql);
-
- while ($row = $db->sql_fetchrow($result))
- {
- recalc_btree('module_id', MODULES_TABLE, $row['module_class']);
- }
- $db->sql_freeresult($result);
-
- // remove cache files.
-*/
set_config('database_last_gc', time(), true);
}