Changeset 1636

Show
Ignore:
Timestamp:
09/02/06 01:56:23
Author:
miyagawa
Message:

moved plugin initialization code to plugin.init

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/plagger/lib/Plagger/Plugin/Publish/Feed.pm

    r1635 r1636  
    33use strict; 
    44use base qw( Plagger::Plugin ); 
    5  
    6 our $VERSION = 0.01; 
    75 
    86use XML::Feed; 
     
    1816        $self, 
    1917        'publish.feed' => \&publish_feed, 
     18        'plugin.init'  => \&plugin_init, 
    2019    ); 
    21     $self->init_feed($context); 
    22 
    23  
    24 sub init_feed { 
    25     my($self, $context) = @_; 
     20
     21 
     22sub plugin_init { 
     23    my($self, $context, $args) = @_; 
    2624 
    2725    # check dir