Skip to content

Commit

Permalink
Rename CIVICRM_FORCE_MODULES to CIVICRM_👻_MODULES
Browse files Browse the repository at this point in the history
  • Loading branch information
totten committed Jan 25, 2023
1 parent 65abec3 commit 7dd634c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion CRM/Utils/Hook.php
Original file line number Diff line number Diff line change
Expand Up @@ -309,7 +309,7 @@ public function runHooks(
* @param $moduleList
*/
public function requireCiviModules(&$moduleList) {
foreach ($GLOBALS['CIVICRM_FORCE_MODULES'] ?? [] as $prefix) {
foreach ($GLOBALS['CIVICRM_👻_MODULES'] ?? [] as $prefix) {
$moduleList[$prefix] = $prefix;
}

Expand Down
2 changes: 1 addition & 1 deletion tests/phpunit/CiviTest/bootstrap.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
}
}

$GLOBALS['CIVICRM_FORCE_MODULES'][] = 'civitest';
$GLOBALS['CIVICRM_👻_MODULES'][] = 'civitest';

function civitest_civicrm_scanClasses(array &$classes): void {
$phpunit = \Civi::paths()->getPath('[civicrm.root]/tests/phpunit');
Expand Down

0 comments on commit 7dd634c

Please sign in to comment.