aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/viewtopic.php
diff options
context:
space:
mode:
authorPaul S. Owen <psotfx@users.sourceforge.net>2001-10-16 16:38:01 +0000
committerPaul S. Owen <psotfx@users.sourceforge.net>2001-10-16 16:38:01 +0000
commitcd37bbc65716ba4539c9cdc3860b1c81ed6d583f (patch)
tree17da124db5d519252e9d6dcfee69bd3e110fe3e0 /phpBB/viewtopic.php
parent0ce19c6f73cd73f70161c8f294667c58801ff8cf (diff)
downloadforums-cd37bbc65716ba4539c9cdc3860b1c81ed6d583f.tar
forums-cd37bbc65716ba4539c9cdc3860b1c81ed6d583f.tar.gz
forums-cd37bbc65716ba4539c9cdc3860b1c81ed6d583f.tar.bz2
forums-cd37bbc65716ba4539c9cdc3860b1c81ed6d583f.tar.xz
forums-cd37bbc65716ba4539c9cdc3860b1c81ed6d583f.zip
Fix a few things left over from old global announce stuff
git-svn-id: file:///svn/phpbb/trunk@1229 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/viewtopic.php')
-rw-r--r--phpBB/viewtopic.php6
1 files changed, 1 insertions, 5 deletions
diff --git a/phpBB/viewtopic.php b/phpBB/viewtopic.php
index 700366eb33..e1e7df2a55 100644
--- a/phpBB/viewtopic.php
+++ b/phpBB/viewtopic.php
@@ -39,15 +39,11 @@ if(isset($HTTP_GET_VARS[POST_POST_URL]))
$start = ( isset($HTTP_GET_VARS['start']) ) ? intval($HTTP_GET_VARS['start']) : 0;
-$mode = (isset($HTTP_GET_VARS['mode'])) ? addslashes($HTTP_GET_VARS['mode']) : "";
-
-$forum_id = (isset($HTTP_GET_VARS['f'])) ? intval($HTTP_GET_VARS['f']) : "";
-
//
// End initial var setup
//
-if( !isset($topic_id) && !isset($post_id) && ($mode != "viewannounce") )
+if( !isset($topic_id) && !isset($post_id) )
{
message_die(GENERAL_MESSAGE, 'Topic_post_not_exist');
}