From 02b4b96ffb030eb4c985f26e39747c14c08f9ae9 Mon Sep 17 00:00:00 2001 From: nonmakina Date: Sat, 9 Jan 2021 19:26:59 -0600 Subject: [PATCH] Whitespace and removed error. --- inc/instance-config.php | 3 --- post.php | 1 - 2 files changed, 4 deletions(-) diff --git a/inc/instance-config.php b/inc/instance-config.php index 63aa2664..1e1d1bb9 100644 --- a/inc/instance-config.php +++ b/inc/instance-config.php @@ -111,11 +111,8 @@ $config['mod']['editpost'] = MOD; // Raw HTML posting $config['mod']['rawhtml'] = MOD; -$config['mod']['mod_board_log'] = MOD; - $config['allow_thread_deletion'] = false; - // Max attachments per post $config['max_images'] = 5; $config['image_reject_repost'] = false; diff --git a/post.php b/post.php index 8556047e..54db692e 100644 --- a/post.php +++ b/post.php @@ -234,7 +234,6 @@ function handle_delete(){ error($config['error']['nodeletethread']); } - if ($password != '' && $post['password'] != $password && (!$thread || $thread['password'] != $password)) error($config['error']['invalidpassword']);