Changeset 787

Show
Ignore:
Timestamp:
05/19/06 18:06:28
Author:
miyagawa
Message:

removed unnecessary bits

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/plagger/lib/Plagger/Plugin/Filter/FindEnclosures.pm

    r786 r787  
    132132} 
    133133 
    134 sub find_enclosure_plugin { 
    135     my($self, $plugin, $url) = @_; 
    136  
    137     my $content; 
    138     $content ||= do { 
    139         my $res = $self->{ua}->fetch( $url, $self ); 
    140         my $content = decode_content($res); 
    141     }; 
    142  
    143     return $plugin->handle($url) && $plugin->find($content); 
    144 } 
    145  
    146134sub is_enclosure { 
    147135    my($self, $tag, $attr) = @_;