Merge pull request #455 from ninjadoge24/patch-1

Remove redundant check for existence of board
This commit is contained in:
Marcin Łabanowski 2015-04-08 18:32:37 +02:00
commit d00b9633c0

View File

@ -236,10 +236,6 @@ elseif (isset($_POST['post'])) {
} else
$post['op'] = true;
// Check if board exists
if (!openBoard($post['board']))
error($config['error']['noboard']);
// Check if banned
checkBan($board['uri']);