Skip to content

Commit

Permalink
Fix an issue with rule processing by cron
Browse files Browse the repository at this point in the history
  • Loading branch information
dmitriim committed Mar 21, 2024
1 parent 4b8bcd4 commit fa28578
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions classes/rule_manager.php
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,10 @@
use tool_dynamic_cohorts\event\rule_deleted;
use tool_dynamic_cohorts\event\rule_updated;

defined('MOODLE_INTERNAL') || die();

require_once($CFG->dirroot.'/cohort/lib.php');

/**
* Rule manager class.
*
Expand Down

0 comments on commit fa28578

Please sign in to comment.