Changeset 83

Show
Ignore:
Timestamp:
02/17/06 17:50:47
Author:
miyagawa
Message:

mark_read=1 by default

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/plagger/lib/Plagger/Plugin/Subscription/Bloglines.pm

    r79 r83  
    7373    my($self, $context, $args) = @_; 
    7474 
    75     my @updates = $self->{bloglines}->getitems(0, $self->conf->{mark_read}); 
     75    my $mark_read = $self->conf->{mark_read}; 
     76       $mark_read = 1 unless defined $mark_read; 
     77 
     78    my @updates = $self->{bloglines}->getitems(0, $mark_read); 
    7679    $context->log(debug => scalar(@updates) . " feed(s) updated."); 
    7780