From 7e25c8d9cc255fbe460c2a970ad7da241c0880bb Mon Sep 17 00:00:00 2001 From: Meik Sievertsen Date: Thu, 18 May 2006 18:18:32 +0000 Subject: - added a few missing log variables - include acp/common.php language file if displaying logs (LOG_ variables should be stored there only now) - added check to cron.php - added database_gc config variable - recalculate binary trees every once a week ;) git-svn-id: file:///svn/phpbb/trunk@5929 89ea8834-ac86-4346-8a33-228a782c2dd0 --- phpBB/includes/acp/acp_board.php | 1 + phpBB/includes/acp/acp_forums.php | 4 ---- phpBB/includes/acp/acp_modules.php | 6 ------ 3 files changed, 1 insertion(+), 10 deletions(-) (limited to 'phpBB/includes/acp') diff --git a/phpBB/includes/acp/acp_board.php b/phpBB/includes/acp/acp_board.php index 9de5d66b11..280ef4e395 100644 --- a/phpBB/includes/acp/acp_board.php +++ b/phpBB/includes/acp/acp_board.php @@ -6,6 +6,7 @@ * @copyright (c) 2005 phpBB Group * @license http://opensource.org/licenses/gpl-license.php GNU Public License * +* @todo add cron intervals to server settings? (database_gc, queue_interval, session_gc, search_gc, cache_gc, warnings_gc) */ /** diff --git a/phpBB/includes/acp/acp_forums.php b/phpBB/includes/acp/acp_forums.php index 9defc15717..d5ee879df5 100644 --- a/phpBB/includes/acp/acp_forums.php +++ b/phpBB/includes/acp/acp_forums.php @@ -76,8 +76,6 @@ class acp_forums $auth->acl_clear_prefetch(); $cache->destroy('sql', FORUMS_TABLE); - recalc_btree('forum_id', FORUMS_TABLE); - trigger_error($user->lang['FORUM_DELETED'] . adm_back_link($this->u_action . '&parent_id=' . $this->parent_id)); break; @@ -223,8 +221,6 @@ class acp_forums $auth->acl_clear_prefetch(); $cache->destroy('sql', FORUMS_TABLE); - recalc_btree('forum_id', FORUMS_TABLE); - $acl_url = '&mode=setting_forum_local&forum_id[]=' . $forum_data['forum_id'] . '&select_all_groups=1'; // Redirect to permissions diff --git a/phpBB/includes/acp/acp_modules.php b/phpBB/includes/acp/acp_modules.php index 592422f85e..02ca7bbb27 100644 --- a/phpBB/includes/acp/acp_modules.php +++ b/phpBB/includes/acp/acp_modules.php @@ -208,8 +208,6 @@ class acp_modules add_log('admin', 'LOG_MODULE_' . strtoupper($action), $move_module_name); - // recalculate binary tree - recalc_btree('module_id', MODULES_TABLE, $this->module_class); $this->remove_cache_file(); break; @@ -247,8 +245,6 @@ class acp_modules if (!sizeof($errors)) { - // recalculate binary tree - recalc_btree('module_id', MODULES_TABLE, $this->module_class); $this->remove_cache_file(); trigger_error($user->lang['MODULE_ADDED'] . adm_back_link($this->u_action . '&parent_id=' . $parent_id)); @@ -337,8 +333,6 @@ class acp_modules if (!sizeof($errors)) { - // recalculate binary tree - recalc_btree('module_id', MODULES_TABLE, $this->module_class); $this->remove_cache_file(); trigger_error((($action == 'add') ? $user->lang['MODULE_ADDED'] : $user->lang['MODULE_EDITED']) . adm_back_link($this->u_action . '&parent_id=' . $parent_id)); -- cgit v1.2.1