Changeset 2322

Show
Ignore:
Timestamp:
05/14/08 04:09:31 (21 months ago)
Author:
auno
Message:

Fixed to be able to sign out with 4.1 templates. BugzID:79718

Files:
1 modified

Legend:

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

    r2290 r2322  
    10831083    $app->logout(); 
    10841084 
    1085     # my $timeout = $app->config->CommentSessionTimeout; 
     1085    # need to clear commenter_name for writeCommenterGreeting 
     1086    my $timeout = $app->config->CommentSessionTimeout; 
     1087    my %name_kookee = (-name => 'commenter_name', 
     1088                       -value => '', 
     1089                       -path => '/', 
     1090                       -expires => "+${timeout}s"); 
     1091    $app->bake_cookie(%name_kookee); 
     1092 
    10861093    # my %kookee = (-name => COMMENTER_COOKIE_NAME(), 
    10871094    #               -value => '', 
     
    10941101    #                    -expires => "+${timeout}s"); 
    10951102    # $app->bake_cookie(%url_kookee); 
    1096     # my %name_kookee = (-name => 'commenter_name', 
    1097     #                    -value => '', 
    1098     #                    -path => '/', 
    1099     #                    -expires => "+${timeout}s"); 
    1100     # $app->bake_cookie(%name_kookee); 
    11011103    # my %id_kookee = (-name => 'commenter_id', 
    11021104    #                    -value => '',