diff options
-rw-r--r-- | IkiWiki/UserInfo.pm | 6 | ||||
-rwxr-xr-x | ikiwiki | 2 |
2 files changed, 6 insertions, 2 deletions
diff --git a/IkiWiki/UserInfo.pm b/IkiWiki/UserInfo.pm index bbcddb616..9a165dad1 100644 --- a/IkiWiki/UserInfo.pm +++ b/IkiWiki/UserInfo.pm @@ -68,7 +68,11 @@ sub is_admin ($) { #{{{ sub commit_notify_list ($@) { #{{{ my $committer=shift; - my @pages=@_; + + my @pages; + foreach my $file (@_) { + push @pages, grep { $pagesources{$_} eq $file } keys %pagesources; + } my @ret; my $userinfo=userinfo_retrieve(); @@ -499,9 +499,9 @@ sub main () { #{{{ loadindex(); require IkiWiki::Render; rcs_update(); - rcs_notify() if $config{notify}; rcs_getctime() if $config{getctime}; refresh(); + rcs_notify() if $config{notify}; saveindex(); } } #}}} |