aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/posting.php
diff options
context:
space:
mode:
authorPaul S. Owen <psotfx@users.sourceforge.net>2001-08-15 23:45:24 +0000
committerPaul S. Owen <psotfx@users.sourceforge.net>2001-08-15 23:45:24 +0000
commit5c7b614ee13d7ca9fc61e3e668b6d42de9fd2c0b (patch)
treef525527ae492f84abc16ec0f430d60bf0a63131f /phpBB/posting.php
parentaaf2ec59010a68e1fbfafafb494163456a30939e (diff)
downloadforums-5c7b614ee13d7ca9fc61e3e668b6d42de9fd2c0b.tar
forums-5c7b614ee13d7ca9fc61e3e668b6d42de9fd2c0b.tar.gz
forums-5c7b614ee13d7ca9fc61e3e668b6d42de9fd2c0b.tar.bz2
forums-5c7b614ee13d7ca9fc61e3e668b6d42de9fd2c0b.tar.xz
forums-5c7b614ee13d7ca9fc61e3e668b6d42de9fd2c0b.zip
A few changes and updates, removed fields no longer used, etc.
git-svn-id: file:///svn/phpbb/trunk@889 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/posting.php')
-rw-r--r--phpBB/posting.php11
1 files changed, 2 insertions, 9 deletions
diff --git a/phpBB/posting.php b/phpBB/posting.php
index 7d76095166..ef7a600571 100644
--- a/phpBB/posting.php
+++ b/phpBB/posting.php
@@ -477,8 +477,6 @@ if( ($mode == "newtopic" || $mode == "reply") && $topic_status == TOPIC_UNLOCKED
}
else if($mode == "newtopic")
{
- $topic_notify = ($HTTP_POST_VARS['notify']) ? 1 : 0;
-
$sql = "INSERT INTO " . TOPICS_TABLE . " (topic_title, topic_poster, topic_time, forum_id, topic_status, topic_type)
VALUES ('$subject', " . $userdata['user_id'] . ", " . $topic_time . ", $forum_id, " . TOPIC_UNLOCKED . ", $topic_type)";
@@ -718,7 +716,7 @@ else if($mode == "quote" && !$preview && $topic_status == TOPIC_UNLOCKED)
if( isset($post_id) )
{
- $sql = "SELECT p.*, pt.post_text, pt.post_subject, u.username, u.user_id, u.user_sig, t.topic_title, t.topic_notify, t.topic_type
+ $sql = "SELECT p.*, pt.post_text, pt.post_subject, u.username, u.user_id, u.user_sig, t.topic_title, t.topic_type
FROM " . POSTS_TABLE . " p, " . USERS_TABLE . " u, " . TOPICS_TABLE . " t, " . POSTS_TEXT_TABLE . " pt
WHERE p.post_id = $post_id
AND pt.post_id = p.post_id
@@ -1030,7 +1028,7 @@ else if( $mode == "editpost" && $topic_status == TOPIC_UNLOCKED )
// Update topics table here, set notification level and such
//
$sql = "UPDATE " . TOPICS_TABLE . "
- SET topic_title = '$subject', topic_notify = '$notify', topic_type = '".$topic_type."'
+ SET topic_title = '$subject', topic_type = '".$topic_type."'
WHERE topic_id = $topic_id";
if($db->sql_query($sql, END_TRANSACTION))
@@ -1144,11 +1142,6 @@ else if( $mode == "editpost" && $topic_status == TOPIC_UNLOCKED )
if($is_first_post)
{
- $notify_show = TRUE;
- if($postrow['topic_notify'])
- {
- $notify = TRUE;
- }
$subject = stripslashes($postrow['topic_title']);
switch($postrow['topic_type'])