Show
Ignore:
Timestamp:
06/26/08 03:17:22 (17 months ago)
Author:
fumiakiy
Message:

Changed signature of session_state method so it returns the authenticated commenter object for use in app. The object is required in resolving MTCS case # 80320 and 80328.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • branches/release-40/lib/MT/Template/ContextHandlers.pm

    r2640 r2644  
    1099710997    return 'null' unless $app->can('session_state'); 
    1099810998 
    10999     my $state = $app->session_state(); 
     10999    my ( $state, $commenter ) = $app->session_state(); 
    1100011000    require JSON; 
    1100111001    my $json = JSON::objToJson($state);