Skip to content
This repository was archived by the owner on Jun 3, 2024. It is now read-only.

Commit e26e630

Browse files
authored
Merge pull request #234 from NuCivic/fix-wrong-var
Use CI instead of in condition to disable cron.
2 parents 08a06e5 + 3174a77 commit e26e630

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

assets/sites/default/settings.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ function _data_starter_validates($variable = '') {
149149

150150
// Disable cron. We run this from Jenkins.
151151
// Except for CircleCI or test purpose.
152-
if ($ci) {
152+
if (CI) {
153153
$conf['cron_safe_threshold'] = 0;
154154
}
155155

0 commit comments

Comments
 (0)