aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/functions_admin.php
diff options
context:
space:
mode:
authorMeik Sievertsen <acydburn@phpbb.com>2006-07-20 21:45:24 +0000
committerMeik Sievertsen <acydburn@phpbb.com>2006-07-20 21:45:24 +0000
commit73ac6b142375eaff4679a205a6bae537e4d019ac (patch)
tree0257aa7d9985d75d5d1cd79d1bd87332e55f303c /phpBB/includes/functions_admin.php
parent3f3db8cdaa8a8066ee0f727fe44699a179aca04e (diff)
downloadforums-73ac6b142375eaff4679a205a6bae537e4d019ac.tar
forums-73ac6b142375eaff4679a205a6bae537e4d019ac.tar.gz
forums-73ac6b142375eaff4679a205a6bae537e4d019ac.tar.bz2
forums-73ac6b142375eaff4679a205a6bae537e4d019ac.tar.xz
forums-73ac6b142375eaff4679a205a6bae537e4d019ac.zip
- some bugfixes
- set ip_check to A.B.C. by default - display postings in other encodings by default and present link to force the encoding as usual. git-svn-id: file:///svn/phpbb/trunk@6198 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/includes/functions_admin.php')
-rw-r--r--phpBB/includes/functions_admin.php9
1 files changed, 2 insertions, 7 deletions
diff --git a/phpBB/includes/functions_admin.php b/phpBB/includes/functions_admin.php
index 725bd52940..11e2623167 100644
--- a/phpBB/includes/functions_admin.php
+++ b/phpBB/includes/functions_admin.php
@@ -10,16 +10,10 @@
/**
* Recalculate Binary Tree
-*/
function recalc_btree($sql_id, $sql_table, $module_class = '')
{
global $db;
- /* Init table, id's, etc...
- $sql_id = 'module_id'; // 'forum_id'
- $sql_table = MODULES_TABLE; // FORUMS_TABLE
- */
-
if (!$sql_id || !$sql_table)
{
return;
@@ -103,6 +97,7 @@ function recalc_btree($sql_id, $sql_table, $module_class = '')
}
$db->sql_freeresult($f_result);
}
+*/
/**
* Simple version of jumpbox, just lists authed forums
@@ -498,7 +493,7 @@ function delete_topics($where_type, $where_ids, $auto_sync = true)
}
$return = array(
- 'posts' => delete_posts($where_type, $where_ids, false, false)
+ 'posts' => delete_posts($where_type, $where_ids, false, true)
);
$sql = 'SELECT topic_id, forum_id