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

@ -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']);