Merge commit '6e962a2d747bd8a8bbbdfc5b8eaeb689100c0b1c'

master
Joey Hess 2013-01-02 15:29:50 -04:00
commit c61af5c608
2 changed files with 3 additions and 1 deletions

View File

@ -25,7 +25,7 @@ sub canedit ($$) {
my $cgi=shift;
my $session=shift;
return "" if $page=~/(\/|^)\Q$config{discussionpage}\E$/i;
return "" if $config{discussion} && $page=~/(\/|^)\Q$config{discussionpage}\E$/i;
return "" if pagespec_match($page, "postcomment(*)");
return undef;
}

View File

@ -4,3 +4,5 @@ the `discussionpage` setting to be edited anonymously, even if
(If it respected the `discussion` option, the combination of
`opendiscussion` and `moderatedcomments` might be good for blogs.)
[[done]] --[[smcv]]