Skip to content

Commit

Permalink
Item12864: don't use DEBUG for local debug messages
Browse files Browse the repository at this point in the history
git-svn-id: http://svn.foswiki.org/trunk/FilterPlugin@17561 0b4bb1d4-4e5a-0410-9cc4-b2b747904278
  • Loading branch information
MichaelDaum authored and MichaelDaum committed Apr 23, 2014
1 parent c6e9a5f commit 7fcc4aa
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions lib/Foswiki/Plugins/FilterPlugin.pm
Expand Up @@ -21,8 +21,8 @@ use warnings;

use Foswiki::Func();

our $VERSION = '4.00';
our $RELEASE = '4.00';
our $VERSION = '4.01';
our $RELEASE = '4.01';
our $NO_PREFS_IN_TOPIC = 1;
our $SHORTDESCRIPTION = 'Substitute and extract information from content by using regular expressions';
our $core;
Expand Down
4 changes: 2 additions & 2 deletions lib/Foswiki/Plugins/FilterPlugin/Core.pm
Expand Up @@ -25,7 +25,7 @@ use Foswiki::Plugins();
use Foswiki::Func();
use Text::Unidecode;

use constant DEBUG => 0; # toggle me
use constant TRACE => 0; # toggle me

###############################################################################
sub new {
Expand Down Expand Up @@ -750,7 +750,7 @@ sub inlineError {

###############################################################################
sub writeDebug {
print STDERR "- FilterPlugin - $_[0]\n" if DEBUG;
print STDERR "- FilterPlugin - $_[0]\n" if TRACE;
}

1;

0 comments on commit 7fcc4aa

Please sign in to comment.