Merge commit '6e962a2d747bd8a8bbbdfc5b8eaeb689100c0b1c'
commit
c61af5c608
|
@ -25,7 +25,7 @@ sub canedit ($$) {
|
||||||
my $cgi=shift;
|
my $cgi=shift;
|
||||||
my $session=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 "" if pagespec_match($page, "postcomment(*)");
|
||||||
return undef;
|
return undef;
|
||||||
}
|
}
|
||||||
|
|
|
@ -4,3 +4,5 @@ the `discussionpage` setting to be edited anonymously, even if
|
||||||
|
|
||||||
(If it respected the `discussion` option, the combination of
|
(If it respected the `discussion` option, the combination of
|
||||||
`opendiscussion` and `moderatedcomments` might be good for blogs.)
|
`opendiscussion` and `moderatedcomments` might be good for blogs.)
|
||||||
|
|
||||||
|
[[done]] --[[smcv]]
|
||||||
|
|
Loading…
Reference in New Issue