1
0
mirror of https://github.com/vichan-devel/vichan.git synced 2025-02-21 21:19:36 +01:00

Remove redundant check for existence of board

It already gets checked in line 217.
This commit is contained in:
ninjadoge24 2015-04-08 21:49:03 +05:30
parent 64e3f488d6
commit d0e240acb7

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