aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/functions_admin.php
diff options
context:
space:
mode:
authorLudovic Arnaud <ludovic_arnaud@users.sourceforge.net>2002-09-16 15:22:52 +0000
committerLudovic Arnaud <ludovic_arnaud@users.sourceforge.net>2002-09-16 15:22:52 +0000
commit66e0b322202c62644c29a198307d62f9eac12e53 (patch)
tree77a8e0a20d02ede555e8289e8536ff63e01ff7c9 /phpBB/includes/functions_admin.php
parenteef332eea5d299784dc31891e84c11017548681d (diff)
downloadforums-66e0b322202c62644c29a198307d62f9eac12e53.tar
forums-66e0b322202c62644c29a198307d62f9eac12e53.tar.gz
forums-66e0b322202c62644c29a198307d62f9eac12e53.tar.bz2
forums-66e0b322202c62644c29a198307d62f9eac12e53.tar.xz
forums-66e0b322202c62644c29a198307d62f9eac12e53.zip
Forums management updated, now able to delete forums
git-svn-id: file:///svn/phpbb/trunk@2890 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/includes/functions_admin.php')
-rw-r--r--phpBB/includes/functions_admin.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/phpBB/includes/functions_admin.php b/phpBB/includes/functions_admin.php
index f5b965a160..e17a4138a8 100644
--- a/phpBB/includes/functions_admin.php
+++ b/phpBB/includes/functions_admin.php
@@ -81,7 +81,7 @@ function sync($type, $id)
FROM " . POSTS_TABLE . " p, " . TOPICS_TABLE . " t
WHERE p.forum_id = $id
AND t.topic_id = p.topic_id
- AND t.topic_status <> " . TOPIC_MOVED;
+ AND t.topic_status <> " . ITEM_MOVED;
$result = $db->sql_query($sql);
if ( $row = $db->sql_fetchrow($result) )
@@ -98,7 +98,7 @@ function sync($type, $id)
$sql = "SELECT COUNT(topic_id) AS total
FROM " . TOPICS_TABLE . "
WHERE forum_id = $id
- AND topic_status <> " . TOPIC_MOVED;
+ AND topic_status <> " . ITEM_MOVED;
$result = $db->sql_query($sql);
$total_topics = ( $row = $db->sql_fetchrow($result) ) ? ( ( $row['total'] ) ? $row['total'] : 0 ) : 0;