revert bugfix

Not needed; lastupdate will be 0 for new feeds.
master
Joey Hess 2010-07-06 16:02:41 -04:00
parent 45a5e8e972
commit c23cb312b4
1 changed files with 3 additions and 8 deletions

View File

@ -359,14 +359,9 @@ sub savestate () {
my $timestamp=undef;
foreach my $feed (keys %feeds) {
if (defined $feeds{$feed}->{lastupdate}) {
my $t=$feeds{$feed}->{lastupdate}+$feeds{$feed}->{updateinterval};
if (! defined $timestamp || $timestamp > $t) {
$timestamp=$t;
}
}
else {
$timestamp=0;
my $t=$feeds{$feed}->{lastupdate}+$feeds{$feed}->{updateinterval};
if (! defined $timestamp || $timestamp > $t) {
$timestamp=$t;
}
}
$newfile=~s/\.new$/time/;