diff options
Diffstat (limited to 'IkiWiki.pm')
-rw-r--r-- | IkiWiki.pm | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/IkiWiki.pm b/IkiWiki.pm index 06a0b7a2c..5563a03af 100644 --- a/IkiWiki.pm +++ b/IkiWiki.pm @@ -1738,15 +1738,6 @@ sub add_depends ($$) { my $page=shift; my $pagespec=shift; - if (ref $pagespec eq 'ARRAY') { - foreach my $ps (@$pagespec) { - if (pagespec_valid($ps)) { - $depends{$page}{$ps} = 1; - } - } - return; - } - return unless pagespec_valid($pagespec); $depends{$page}{$pagespec} = 1; |