Changeset 11888
- Timestamp:
- 06/10/11 23:18:29 (12 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/CommentPlugin/lib/Foswiki/Plugins/CommentPlugin.pm
r11882 r11888 86 86 my ($meta, $text) = Foswiki::Func::readTopic($web, $topic); 87 87 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 97 95 $response->header(-status => 200); 98 96 $response->body("$web.$topic");
Note: See TracChangeset
for help on using the changeset viewer.
