Ejegg has submitted this change and it was merged.
Change subject: Don't create SQL function at runtime
......................................................................
Don't create SQL function at runtime
This breaks the upgrade.
Bug: T117044
Change-Id: I438be42bf24724b757c5ab76cbb8c89ae6686935
---
M CRM/Contact/BAO/Contact.php
1 file changed, 5 insertions(+), 2 deletions(-)
Approvals:
Ejegg: Verified; Looks good to me, approved
diff --git a/CRM/Contact/BAO/Contact.php b/CRM/Contact/BAO/Contact.php
index 12b8a60..7c92761 100644
--- a/CRM/Contact/BAO/Contact.php
+++ b/CRM/Contact/BAO/Contact.php
@@ -3274,8 +3274,11 @@
// Update phone table to populate phone_numeric field
if (!$tableName || $tableName == 'civicrm_phone') {
// Define stored sql function needed for phones
- CRM_Core_DAO::executeQuery(self::DROP_STRIP_FUNCTION_43);
- CRM_Core_DAO::executeQuery(self::CREATE_STRIP_FUNCTION_43);
+ //
+ // FIXME: WMF bug T117044, we can't create this function at runtime
(unknown why not).
+ // CRM_Core_DAO::executeQuery(self::DROP_STRIP_FUNCTION_43);
+ // CRM_Core_DAO::executeQuery(self::CREATE_STRIP_FUNCTION_43);
+
$info[] = array(
'table' => array('civicrm_phone'),
'when' => 'BEFORE',
--
To view, visit https://gerrit.wikimedia.org/r/249749
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: I438be42bf24724b757c5ab76cbb8c89ae6686935
Gerrit-PatchSet: 1
Gerrit-Project: wikimedia/fundraising/crm/civicrm
Gerrit-Branch: civi-4.6.9-deployment
Gerrit-Owner: Awight <[email protected]>
Gerrit-Reviewer: Ejegg <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits