Skip to content
Browse files

Don't log if DEBUG is 0

patch failed, but applied manually
  • Loading branch information...
1 parent 8e7d28d commit bc31893625e0be3025265e5d0fcac7b46c672f37 @jmdh jmdh committed with jibsheet Nov 25, 2009
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/RTx/EmailCompletion.pm
View
2 lib/RTx/EmailCompletion.pm
@@ -20,7 +20,7 @@ sub search_rdbms {
$Users->Limit(SUBCLAUSE => 'EmailCompletion', ALIAS => 'main', FIELD => $field, OPERATOR => $RT::EmailCompletionSearch, VALUE => $Email, ENTRYAGGREGATOR => 'OR');
}
- $RT::Logger->debug($Users->BuildSelectQuery);
+ $RT::Logger->debug($Users->BuildSelectQuery) if DEBUG;
my @users;
while (my $User = $Users->Next()) {

0 comments on commit bc31893

Please sign in to comment.
Something went wrong with that request. Please try again.