Ignore:
Timestamp:
12/18/09 11:14:24 (2 years ago)
Author:
CrawfordCurrie
Message:

Item2511: make the new plugin into a micro-module. This allows us to init the plugin without loading the rest of the MailerContrib, which would be an unreasonable thing to do unless we were really going to use it. Note that this approach may not work with pre-1.1 code if it is run with ASSERTs enabled, because of a wayward assert in Plugins.pm

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/MailerContrib/lib/Foswiki/Contrib/MailerContrib/Config.spec

    r5752 r5821  
    1313# **STRING EXPERT** 
    1414# Plugin module path for handler registration 
    15 $Foswiki::cfg{Plugins}{MailerContrib}{Module} = 'Foswiki::Contrib::MailerContrib'; 
     15$Foswiki::cfg{Plugins}{MailerContribPlugin}{Module} = 'Foswiki::Contrib::MailerContribPlugin'; 
    1616# **BOOLEAN** 
    1717# Enable plugin module for handler registration. You can disable the plugin 
    1818# if you don't want to invoke mail notification from the web. 
    19 $Foswiki::cfg{Plugins}{MailerContrib}{Enabled} = 1; 
     19$Foswiki::cfg{Plugins}{MailerContribPlugin}{Enabled} = 1; 
Note: See TracChangeset for help on using the changeset viewer.