aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/acp/acp_modules.php
diff options
context:
space:
mode:
authorMeik Sievertsen <acydburn@phpbb.com>2006-05-18 18:18:32 +0000
committerMeik Sievertsen <acydburn@phpbb.com>2006-05-18 18:18:32 +0000
commit7e25c8d9cc255fbe460c2a970ad7da241c0880bb (patch)
tree89bb537574b06359d58f515a07fa6e37b6c63cf9 /phpBB/includes/acp/acp_modules.php
parentf15d6862ae4a62421da83e10dfdeb7153756af1a (diff)
downloadforums-7e25c8d9cc255fbe460c2a970ad7da241c0880bb.tar
forums-7e25c8d9cc255fbe460c2a970ad7da241c0880bb.tar.gz
forums-7e25c8d9cc255fbe460c2a970ad7da241c0880bb.tar.bz2
forums-7e25c8d9cc255fbe460c2a970ad7da241c0880bb.tar.xz
forums-7e25c8d9cc255fbe460c2a970ad7da241c0880bb.zip
- 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
Diffstat (limited to 'phpBB/includes/acp/acp_modules.php')
-rw-r--r--phpBB/includes/acp/acp_modules.php6
1 files changed, 0 insertions, 6 deletions
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 . '&amp;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 . '&amp;parent_id=' . $parent_id));