Skip to content

Commit

Permalink
Merge pull request #13658 from mfb/temp-force-utf8
Browse files Browse the repository at this point in the history
Phase out CIVICRM_TEMP_FORCE_UTF8
  • Loading branch information
eileenmcnaughton authored Feb 25, 2019
2 parents baa6938 + 9c714a1 commit 41cef03
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions CRM/Utils/SQL/TempTable.php
Original file line number Diff line number Diff line change
Expand Up @@ -97,8 +97,8 @@ public static function build() {
$t->id = md5(uniqid('', TRUE));
// The constant CIVICRM_TEMP_FORCE_DURABLE is for local debugging.
$t->durable = CRM_Utils_Constant::value('CIVICRM_TEMP_FORCE_DURABLE', FALSE);
// I suspect it would be better to just say utf8=true, but a lot of existing queries don't do the utf8 bit.
$t->utf8 = CRM_Utils_Constant::value('CIVICRM_TEMP_FORCE_UTF8', FALSE);
// @deprecated This constant is deprecated and will be removed.
$t->utf8 = CRM_Utils_Constant::value('CIVICRM_TEMP_FORCE_UTF8', TRUE);
$t->autodrop = FALSE;
$t->memory = FALSE;
return $t;
Expand Down

0 comments on commit 41cef03

Please sign in to comment.