aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/posting.php
diff options
context:
space:
mode:
authorLudovic Arnaud <ludovic_arnaud@users.sourceforge.net>2003-07-02 22:41:05 +0000
committerLudovic Arnaud <ludovic_arnaud@users.sourceforge.net>2003-07-02 22:41:05 +0000
commit79999c7bf398229fa140c21e46221dbea52c1eb7 (patch)
treebcaae78ba8e45330ec781a8b84be43712ba44784 /phpBB/posting.php
parent01a68f9497aa849d6244742167cc9323b47a030d (diff)
downloadforums-79999c7bf398229fa140c21e46221dbea52c1eb7.tar
forums-79999c7bf398229fa140c21e46221dbea52c1eb7.tar.gz
forums-79999c7bf398229fa140c21e46221dbea52c1eb7.tar.bz2
forums-79999c7bf398229fa140c21e46221dbea52c1eb7.tar.xz
forums-79999c7bf398229fa140c21e46221dbea52c1eb7.zip
If I'm not wrong, f_ignorequeue is not anymore
git-svn-id: file:///svn/phpbb/trunk@4194 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/posting.php')
-rw-r--r--phpBB/posting.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/phpBB/posting.php b/phpBB/posting.php
index dd41f0991a..a2256bed0b 100644
--- a/phpBB/posting.php
+++ b/phpBB/posting.php
@@ -1171,7 +1171,7 @@ function submit_post($mode, $message, $subject, $username, $topic_type, $bbcode_
'topic_title' => stripslashes($subject),
'topic_time' => $current_time,
'topic_type' => $topic_type,
- 'topic_approved' => ($auth->acl_get('f_moderate', $data['forum_id']) && !$auth->acl_get('f_ignorequeue', $data['forum_id'])) ? 0 : 1,
+ 'topic_approved' => ($auth->acl_get('f_moderate', $data['forum_id'])) ? 0 : 1,
'icon_id' => $data['icon_id'],
'topic_attachment' => (sizeof($filename_data['physical_filename'])) ? 1 : 0
);
@@ -1209,7 +1209,7 @@ function submit_post($mode, $message, $subject, $username, $topic_type, $bbcode_
'post_subject' => stripslashes($subject),
'icon_id' => $data['icon_id'],
'poster_ip' => $user->ip,
- 'post_approved' => ($auth->acl_get('f_moderate', $data['forum_id']) && !$auth->acl_get('f_ignorequeue', $data['forum_id'])) ? 0 : 1,
+ 'post_approved' => ($auth->acl_get('f_moderate', $data['forum_id'])) ? 0 : 1,
'post_edit_time' => ($mode == 'edit' && $data['poster_id'] == $user->data['user_id']) ? $current_time : 0,
'enable_sig' => $data['enable_sig'],
'enable_bbcode' => $data['enable_bbcode'],
@@ -1462,7 +1462,7 @@ function submit_post($mode, $message, $subject, $username, $topic_type, $bbcode_
meta_refresh(3, "viewtopic.$phpEx$SID&amp;f=" . $data['forum_id'] . '&amp;t=' . $data['topic_id'] . '&amp;p=' . $data['post_id'] . '#' . $data['post_id']);
- $message = ($auth->acl_get('f_moderate', $data['forum_id']) && !$auth->acl_get('f_ignorequeue', $data['forum_id'])) ? 'POST_STORED_MOD' : 'POST_STORED';
+ $message = ($auth->acl_get('f_moderate', $data['forum_id'])) ? 'POST_STORED_MOD' : 'POST_STORED';
$message = $user->lang[$message] . '<br /><br />' . sprintf($user->lang['VIEW_MESSAGE'], '<a href="viewtopic.' . $phpEx . $SID .'&amp;f=' . $data['forum_id'] . '&amp;t=' . $data['topic_id'] . '&amp;p=' . $data['post_id'] . '#' . $data['post_id'] . '">', '</a>') . '<br /><br />' . sprintf($user->lang['RETURN_FORUM'], '<a href="viewforum.' . $phpEx . $SID .'&amp;f=' . $data['forum_id'] . '">', '</a>');
trigger_error($message);
}