From d0e240acb7f736f060e5bbb0f0bd2ac0ce31f367 Mon Sep 17 00:00:00 2001 From: ninjadoge24 Date: Wed, 8 Apr 2015 21:49:03 +0530 Subject: [PATCH] Remove redundant check for existence of board It already gets checked in line 217. --- post.php | 4 ---- 1 file changed, 4 deletions(-) diff --git a/post.php b/post.php index 65e7db13..177c2dba 100644 --- a/post.php +++ b/post.php @@ -235,10 +235,6 @@ elseif (isset($_POST['post'])) { $post['thread'] = round($_POST['thread']); } else $post['op'] = true; - - // Check if board exists - if (!openBoard($post['board'])) - error($config['error']['noboard']); // Check if banned checkBan($board['uri']);