avoid redundant recentpages action on the recentchanges page itself
parent
8b31c53366
commit
9875bc10d1
|
@ -85,7 +85,8 @@ sub genpage ($$) { #{{{
|
|||
$actions++;
|
||||
}
|
||||
|
||||
if ($config{rcs} && exists $config{recentchangespage}) {
|
||||
if ($config{rcs} && exists $config{recentchangespage} &&
|
||||
$page ne $config{recentchangespage}) {
|
||||
$template->param(recentchangesurl => urlto($config{recentchangespage}, $page));
|
||||
$actions++;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue