Changeset 11888


Ignore:
Timestamp:
06/10/11 23:18:29 (12 months ago)
Author:
PaulHarvey
Message:

Item9639: Revert "Item9639: Interim work-around for nested try/catch problem"

This reverts commit 00e4d7c201ae15903db7f2d12d4502168b7476c9.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/CommentPlugin/lib/Foswiki/Plugins/CommentPlugin.pm

    r11882 r11888  
    8686        my ($meta, $text) = Foswiki::Func::readTopic($web, $topic); 
    8787 
    88         if ($meta->haveAccess('CHANGE')) { 
    89             # The save function does access control checking 
    90             $text = Foswiki::Plugins::CommentPlugin::Comment::save( 
    91                 $text, $web, $topic); 
    92              
    93             Foswiki::Func::saveTopic($web, $topic, $meta, $text); 
    94 #                                     { ignorepermissions => 1 }); 
    95         } 
    96              
     88        # The save function does access control checking 
     89        $text = Foswiki::Plugins::CommentPlugin::Comment::save( 
     90            $text, $web, $topic); 
     91         
     92        Foswiki::Func::saveTopic($web, $topic, $meta, $text, 
     93                                 { ignorepermissions => 1 }); 
     94         
    9795        $response->header(-status => 200); 
    9896        $response->body("$web.$topic"); 
Note: See TracChangeset for help on using the changeset viewer.