summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarcin Łabanowski <marcin@6irc.net>2013-01-23 18:57:02 +0100
committerMarcin Łabanowski <marcin@6irc.net>2013-01-23 18:57:02 +0100
commite087e9afae07ec2249dc8d11ab223da2c5a9b04c (patch)
tree280a41cdeea0c01902a3963adf5c7fd006ac9cdc
parent635cd5a7d9d44499a20582f54f2c08feadaa01f4 (diff)
Revert "[EDIT] added dummy page"
This reverts commit a051ca64ababcf49f4eebf9b768b301c9e8cc06e. Conflicts: mod.php
-rw-r--r--inc/mod/pages.php12
-rw-r--r--mod.php1
2 files changed, 0 insertions, 13 deletions
diff --git a/inc/mod/pages.php b/inc/mod/pages.php
index 139bcb65..daa2f0ab 100644
--- a/inc/mod/pages.php
+++ b/inc/mod/pages.php
@@ -986,18 +986,6 @@ function mod_ban_post($board, $delete, $post, $token = false) {
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) {
global $config, $mod;
diff --git a/mod.php b/mod.php
index 262ffe92..d897d474 100644
--- a/mod.php
+++ b/mod.php
@@ -65,7 +65,6 @@ $pages = array(
'/([\w+.]+)/deletefile/(\d+)' => 'secure deletefile', // delete file from post
'/([\w+.]+)/deletebyip/(\d+)(/global)?' => 'secure deletebyip', // delete all posts by IP address
'/([\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+.]+)/bump(un)?lock/(\d+)' => 'secure bumplock', // "bumplock" thread