Show
Ignore:
Timestamp:
11/10/06 20:28:04 (6 years ago)
Author:
nick
Message:

Give the wiki object to plugins, in case they need it

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • wiki-toolkit/trunk/lib/Wiki/Toolkit.pm

    r351 r355  
    787787    croak "no plugin supplied" unless $plugin; 
    788788    if ( $plugin->isa( "Wiki::Toolkit::Plugin" ) ) { 
     789        $plugin->wiki(      $self             ); 
    789790        $plugin->datastore( $self->store      ); 
    790791        $plugin->indexer(   $self->search_obj );