forked from leftypol/leftypol
Revert "Merge branch 'master' of github.com:vichan-devel/Tinyboard"
This reverts commita84c4510fc
, reversing changes made toa8327c3a37
.
This commit is contained in:
parent
0d8e2a65ab
commit
2cc0769f54
6 changed files with 4 additions and 40 deletions
|
@ -1328,6 +1328,7 @@ function mod_delete($board, $post) {
|
|||
if (!hasPermission($config['mod']['delete'], $board))
|
||||
error($config['error']['noaccess']);
|
||||
|
||||
// Delete post
|
||||
deletePost($post);
|
||||
// Record the action
|
||||
modLog("Deleted post #{$post}");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue