From 7402727c6267db83fb256a87f05b7a634099ac5f Mon Sep 17 00:00:00 2001 From: Pratik Joshi Date: Wed, 13 Mar 2013 16:35:53 +0530 Subject: [PATCH] CRM-12084 fix : comment https://github.com/civicrm/civicrm-core/pull/135#issuecomment-14834797 by totten --- CRM/Upgrade/Incremental/php/FourThree.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CRM/Upgrade/Incremental/php/FourThree.php b/CRM/Upgrade/Incremental/php/FourThree.php index 61beb1133b..07fc6a5426 100644 --- a/CRM/Upgrade/Incremental/php/FourThree.php +++ b/CRM/Upgrade/Incremental/php/FourThree.php @@ -50,7 +50,7 @@ class CRM_Upgrade_Incremental_php_FourThree { * @return void */ function setPreUpgradeMessage(&$preUpgradeMessage, $rev, $currentVer = NULL) { - if (version_compare($rev, '4.3.beta3') >= 0) { + if ($rev == '4.3.beta3') { //CRM-12084 //sql for checking orphaned contribution records $sql = "SELECT COUNT(ct.id) FROM civicrm_contribution ct LEFT JOIN civicrm_contact c ON ct.contact_id = c.id WHERE c.id IS NULL"; -- 2.25.1