Revert "[EDIT] added dummy page"
This reverts commit a051ca64ab
.
Conflicts:
mod.php
This commit is contained in:
parent
635cd5a7d9
commit
e087e9afae
@ -986,18 +986,6 @@ function mod_ban_post($board, $delete, $post, $token = false) {
|
|||||||
mod_page(_('New ban'), 'mod/ban_form.html', $args);
|
mod_page(_('New ban'), 'mod/ban_form.html', $args);
|
||||||
}
|
}
|
||||||
|
|
||||||
function mod_edit_post($board, $post) {
|
|
||||||
global $config, $mod;
|
|
||||||
|
|
||||||
if (!openBoard($board))
|
|
||||||
error($config['error']['noboard']);
|
|
||||||
|
|
||||||
if (!hasPermission($config['mod']['editpost'], $board))
|
|
||||||
error($config['error']['noaccess']);
|
|
||||||
|
|
||||||
error("Unimplemented!");
|
|
||||||
}
|
|
||||||
|
|
||||||
function mod_delete($board, $post) {
|
function mod_delete($board, $post) {
|
||||||
global $config, $mod;
|
global $config, $mod;
|
||||||
|
|
||||||
|
1
mod.php
1
mod.php
@ -65,7 +65,6 @@ $pages = array(
|
|||||||
'/([\w+.]+)/deletefile/(\d+)' => 'secure deletefile', // delete file from post
|
'/([\w+.]+)/deletefile/(\d+)' => 'secure deletefile', // delete file from post
|
||||||
'/([\w+.]+)/deletebyip/(\d+)(/global)?' => 'secure deletebyip', // delete all posts by IP address
|
'/([\w+.]+)/deletebyip/(\d+)(/global)?' => 'secure deletebyip', // delete all posts by IP address
|
||||||
'/([\w+.]+)/(un)?lock/(\d+)' => 'secure lock', // lock thread
|
'/([\w+.]+)/(un)?lock/(\d+)' => 'secure lock', // lock thread
|
||||||
'/([\w+.]+)/edit/(\d+)' => 'secure edit_post', // edit post
|
|
||||||
'/([\w+.]+)/(un)?sticky/(\d+)' => 'secure sticky', // sticky thread
|
'/([\w+.]+)/(un)?sticky/(\d+)' => 'secure sticky', // sticky thread
|
||||||
'/([\w+.]+)/bump(un)?lock/(\d+)' => 'secure bumplock', // "bumplock" thread
|
'/([\w+.]+)/bump(un)?lock/(\d+)' => 'secure bumplock', // "bumplock" thread
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user