notifyemail: Fix bug that caused duplicate emails to be sent when site was rebuilt.
parent
bf9fdcc80f
commit
9e4f0efe44
|
@ -78,6 +78,7 @@ sub anonsubscribe ($$) {
|
|||
sub notify (@) {
|
||||
my @files=@_;
|
||||
return unless @files;
|
||||
return if $config{rebuild};
|
||||
|
||||
eval q{use Mail::Sendmail};
|
||||
error $@ if $@;
|
||||
|
|
|
@ -4,6 +4,8 @@ ikiwiki (3.20130505) UNRELEASED; urgency=low
|
|||
Closes: #707436
|
||||
* theme: Now <TMPL_IF THEME_$NAME> can be used in all templates when
|
||||
a theme is enabled.
|
||||
* notifyemail: Fix bug that caused duplicate emails to be sent when
|
||||
site was rebuilt.
|
||||
|
||||
-- Joey Hess <joeyh@debian.org> Thu, 09 May 2013 10:47:18 -0400
|
||||
|
||||
|
|
Loading…
Reference in New Issue