diff --git a/CRM/Batch/BAO/Batch.php b/CRM/Batch/BAO/Batch.php
index 4b95f26cbe90395b020909d4f09c106cf267a505..f17329e419e0c4a22b8a4041e70943d06fde00f4 100644
--- a/CRM/Batch/BAO/Batch.php
+++ b/CRM/Batch/BAO/Batch.php
@@ -741,7 +741,6 @@ WHERE  {$where}
     if (isset($limit)) {
       $sql .= "{$limit}";
     }
-      CRM_Core_Error::debug_var( '$sql', $sql );
 
     $result = CRM_Core_DAO::executeQuery($sql);
     return $result;