Changeset 2725

Show
Ignore:
Timestamp:
07/08/08 01:23:59 (19 months ago)
Author:
fumiakiy
Message:

Check conditioning code first to see if the method is actually available for commenting. BugId:80493

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • branches/release-41/lib/MT/App.pm

    r2673 r2725  
    13061306    my %otherauths; 
    13071307    foreach my $key (@auths) { 
     1308        next 
     1309            if exists( $ca_reg->{$key}->{condition} ) 
     1310            && !( $ca_reg->{$key}->{condition}->() ); 
    13081311        if ( $key eq 'MovableType' ) { 
    13091312            $param->{enabled_MovableType} = 1;