[Rt-commit] rt branch, 3.999-trunk, updated. 23817d3d019b54ba90f4c6ee5e21a47bb16127c2

? sunnavy sunnavy at bestpractical.com
Mon Apr 5 03:45:14 EDT 2010


The branch, 3.999-trunk has been updated
       via  23817d3d019b54ba90f4c6ee5e21a47bb16127c2 (commit)
      from  bec7e2a4291f59913886490b957fbbb843565018 (commit)

Summary of changes:
 lib/RT/Action/QueueBased.pm |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

- Log -----------------------------------------------------------------
commit 23817d3d019b54ba90f4c6ee5e21a47bb16127c2
Author: sunnavy <sunnavy at bestpractical.com>
Date:   Mon Apr 5 15:45:20 2010 +0800

    logic fix

diff --git a/lib/RT/Action/QueueBased.pm b/lib/RT/Action/QueueBased.pm
index 852896a..8a4243f 100644
--- a/lib/RT/Action/QueueBased.pm
+++ b/lib/RT/Action/QueueBased.pm
@@ -45,8 +45,8 @@ sub arguments {
             $queue = $self->record->queue_id;
         }
 
-        if (!$queue) {
-            warn "No queue found for $self";
+        if (!$queue && !$already_setting_queue) {
+            Jifty->log->warn( "No queue found for $self" );
         }
 
         # run set_queue logic

-----------------------------------------------------------------------


More information about the Rt-commit mailing list