Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

issue #4 issue #5 issue #6: processing new tags, courses and categories #12

Merged
merged 10 commits into from
Sep 4, 2024
Prev Previous commit
Next Next commit
issue #4: move cohort lib include to helper
dmitriim committed Sep 3, 2024
commit 6fc367d544cf2495e677491a660638ba273e62c5
4 changes: 4 additions & 0 deletions classes/helper.php
Original file line number Diff line number Diff line change
@@ -22,6 +22,10 @@
use tool_dynamic_cohorts\condition_base;
use tool_dynamic_cohorts\rule;

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

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

/**
* Helper class.
*
4 changes: 0 additions & 4 deletions classes/observer.php
Original file line number Diff line number Diff line change
@@ -20,10 +20,6 @@
use stdClass;
use context_system;

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

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

/**
* Event observer class.
*