po: remove unneeded check on link plugin
Signed-off-by: intrigeri <intrigeri@boum.org>master
parent
055be361f5
commit
9db2438b3a
|
@ -180,8 +180,6 @@ sub scan (@) {
|
||||||
my $page=$params{page};
|
my $page=$params{page};
|
||||||
my $content=$params{content};
|
my $content=$params{content};
|
||||||
|
|
||||||
return unless UNIVERSAL::can("IkiWiki::Plugin::link", "import");
|
|
||||||
|
|
||||||
if (istranslation($page)) {
|
if (istranslation($page)) {
|
||||||
foreach my $destpage (@{$links{$page}}) {
|
foreach my $destpage (@{$links{$page}}) {
|
||||||
if (istranslatable($destpage)) {
|
if (istranslatable($destpage)) {
|
||||||
|
|
Loading…
Reference in New Issue