|
@ -1055,7 +1055,6 @@ function mod_delete($board, $post) { |
|
|
if (!hasPermission($config['mod']['delete'], $board)) |
|
|
if (!hasPermission($config['mod']['delete'], $board)) |
|
|
error($config['error']['noaccess']); |
|
|
error($config['error']['noaccess']); |
|
|
|
|
|
|
|
|
// Delete post |
|
|
|
|
|
deletePost($post); |
|
|
deletePost($post); |
|
|
// Record the action |
|
|
// Record the action |
|
|
modLog("Deleted post #{$post}"); |
|
|
modLog("Deleted post #{$post}"); |
|
|