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
master
joey 2006-04-28 05:16:24 +00:00
parent 0908c4f678
commit 188d7c1961
2 changed files with 6 additions and 2 deletions

View File

@ -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();

View File

@ -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();
}
} #}}}