Skip to content

Commit

Permalink
Deprecate CIVICRM_TEMP_FORCE_UTF8.
Browse files Browse the repository at this point in the history
  • Loading branch information
mfb committed Feb 24, 2019
1 parent 17e1189 commit 45d931e
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 @@ -93,8 +93,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;
return $t;
}
Expand Down

0 comments on commit 45d931e

Please sign in to comment.