From 3a8ce9d625656b7e69996b578d36b067b765706a Mon Sep 17 00:00:00 2001 From: Steve Binkowski Date: Thu, 28 Jan 2016 15:51:53 -0500 Subject: [PATCH] Cosmetic fixes, per Jenkins --- CRM/Core/DAO.php | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/CRM/Core/DAO.php b/CRM/Core/DAO.php index 4560e5368b..189b6c8d59 100644 --- a/CRM/Core/DAO.php +++ b/CRM/Core/DAO.php @@ -1171,18 +1171,18 @@ FROM civicrm_domain * exposed with CRM-17748. * * @param string $query query to be executed - * + * * @return Object CRM_Core_DAO object that points to an unbuffered result set * @static * @access public */ - static function executeUnbufferedQuery( + static public function executeUnbufferedQuery( $query, - $params = array(), - $abort = TRUE, - $daoName = NULL, - $freeDAO = FALSE, - $i18nRewrite = TRUE, + $params = array(), + $abort = TRUE, + $daoName = NULL, + $freeDAO = FALSE, + $i18nRewrite = TRUE, $trapException = FALSE ) { $queryStr = self::composeQuery($query, $params, $abort); @@ -1191,7 +1191,7 @@ FROM civicrm_domain $dao = new CRM_Core_DAO(); } else { - $dao = new $daoName( ); + $dao = new $daoName(); } if ($trapException) { @@ -1199,7 +1199,7 @@ FROM civicrm_domain } // set the DAO object to use an unbuffered query - $dao->setOptions( array('result_buffering'=>0) ); + $dao->setOptions(array('result_buffering' => 0)); $result = $dao->query($queryStr, $i18nRewrite); @@ -1211,7 +1211,7 @@ FROM civicrm_domain return $result; } - // since it is unbuffered, ($dao->N==0) is true. This blocks the standard fetch() mechanism. + // since it is unbuffered, ($dao->N==0) is true. This blocks the standard fetch() mechanism. $dao->N = TRUE; if ($freeDAO || -- 2.25.1