Skip to content

Commit

Permalink
resolving merge conflict
Browse files Browse the repository at this point in the history
  • Loading branch information
aanunez committed Nov 28, 2022
2 parents 9459349 + 9e6cb87 commit eafc88c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions StopSurveyEval.php
Original file line number Diff line number Diff line change
Expand Up @@ -62,13 +62,13 @@ public function run_cron($cronInfo)
// Loop over every pid using this EM
foreach ($this->getProjectsWithModuleEnabled() as $pid) {

// Skip if cron feature not enabled
if (!$this->getProjectSetting('cron')) continue;

// Act like we are in that project
$_GET['pid'] = $pid;
$Proj = new Project($pid);

// Skip if cron feature not enabled
if (!$this->getProjectSetting('cron')) continue;

// Pull records that need eval and go
$records = array_unique(json_decode($this->getProjectSetting('records'), true));
if (empty($records)) continue;
Expand Down

0 comments on commit eafc88c

Please sign in to comment.