Changeset 714

Show
Ignore:
Timestamp:
06/11/08 20:06:57 (7 months ago)
Author:
bchoate
Message:

Compatibility fix for configuration settings for MT 4.1 (which doesn't support referencing a handler for the config_template registry key).

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/PostOffice/plugins/PostOffice/config.yaml

    r609 r714  
    77version: 1.0 
    88plugin_link: http://www.sixapart.com/ 
     9 
     10applications: 
     11    cms: 
     12        init: >> 
     13            sub { 
     14                my $c = MT->component('postoffice'); 
     15                $c->{config_template} = MT->handler_to_coderef('$postoffice::PostOffice::CMS::config_template'); 
     16            } 
    917 
    1018settings: 
     
    3644        Default: 2 
    3745 
    38 config_template: 
    39     code: $postoffice::PostOffice::CMS::config_template 
    40  
    4146callbacks: 
    4247    MT::App::CMS::template_source.edit_entry: $postoffice::PostOffice::CMS::edit_entry_src