CRM-19444. Make queues less noisy when operating normally.
authorChris Burgess <chris@giantrobot.co.nz>
Sun, 2 Oct 2016 21:28:35 +0000 (10:28 +1300)
committerChris Burgess <chris@giantrobot.co.nz>
Sun, 2 Oct 2016 21:28:35 +0000 (10:28 +1300)
CRM/Queue/Queue/Sql.php

index 709638303b627113a53c07be3404ef3e0d18f7fc..177c3e7a67c2792b88ebf31a42eab87adc88224f 100644 (file)
@@ -156,14 +156,6 @@ class CRM_Queue_Queue_Sql extends CRM_Queue_Queue {
         $dao->data = unserialize($dao->data);
         return $dao;
       }
-      else {
-        CRM_Core_Error::debug_var('not ready for release', $dao);
-        return FALSE;
-      }
-    }
-    else {
-      CRM_Core_Error::debug_var('no items found');
-      return FALSE;
     }
   }
 
@@ -197,10 +189,6 @@ class CRM_Queue_Queue_Sql extends CRM_Queue_Queue {
       $dao->data = unserialize($dao->data);
       return $dao;
     }
-    else {
-      CRM_Core_Error::debug_var('no items found');
-      return FALSE;
-    }
   }
 
   /**