- Timestamp:
- 01/22/12 15:23:10 (4 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/ImmediateNotifyPlugin/lib/Foswiki/Plugins/ImmediateNotifyPlugin.pm
r13772 r13777 81 81 next if ( $method eq "Module" ); 82 82 next if ( $method eq "Enabled" ); 83 next if ( $method eq "Bitly" ); 83 84 if ( $Foswiki::cfg{Plugins}{ImmediateNotifyPlugin}{$method}{Enabled} ) { 84 85 debug("Allowing method $method"); … … 215 216 my ( $method, $parms ) = 216 217 $methodString =~ m/^(.*?)(?:\((.*?)\))?$/; 218 $parms |= ''; 217 219 debug( 218 220 "- ImmediateNotifyPlugin: processName: User $name found method ($method) parms ($parms) " … … 236 238 } 237 239 240 241 =begin TML 242 243 ---+ beforeSaveHandler 244 245 Set a flag if this is a new topic. 246 247 =cut 248 249 sub beforeSaveHandler { 250 my ( $text, $topic, $web, $meta ) = @_; 251 252 unless ( Foswiki::Func::topicExists($web, $topic) ) { 253 Foswiki::Func::getContext()->{'NewTopic'} = 1; 254 } 255 } 256 238 257 =begin TML 239 258
Note: See TracChangeset
for help on using the changeset viewer.
