aboutsummaryrefslogtreecommitdiff
path: root/IkiWiki
diff options
context:
space:
mode:
authorjoey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071>2006-04-28 05:16:24 +0000
committerjoey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071>2006-04-28 05:16:24 +0000
commit188d7c19612d03830d1d996bc3d7bbd84e00e857 (patch)
treed1e79f9cd6a28b43012aaa47e45e5209540b4e0d /IkiWiki
parent0908c4f678ba568739dcd319981f1340fd2ff389 (diff)
downloadikiwiki-188d7c19612d03830d1d996bc3d7bbd84e00e857.tar
ikiwiki-188d7c19612d03830d1d996bc3d7bbd84e00e857.tar.gz
two notify bug fixes:
- run it after refreshing so that all the page info is current - convert filenames into page names before checking against glob
Diffstat (limited to 'IkiWiki')
-rw-r--r--IkiWiki/UserInfo.pm6
1 files changed, 5 insertions, 1 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();