File tree 4 files changed +11
-8
lines changed
classes/reportbuilder/local
4 files changed +11
-8
lines changed Original file line number Diff line number Diff line change @@ -8,9 +8,11 @@ Dynamic cohorts plugin allows dynamically add and remove users from cohorts base
8
8
9
9
# Versions and branches
10
10
11
- | Moodle Version | Branch |
12
- | ----------------| -------------------|
13
- | Moodle 4.1+ | MOODLE_401_STABLE |
11
+ | Moodle Version | Branch |
12
+ | ------------------| -------------------|
13
+ | Moodle 4.1 - 4.3 | MOODLE_401_STABLE |
14
+ | Moodle 4.4+ | MOODLE_404_STABLE |
15
+
14
16
15
17
## Installing via uploaded ZIP file ##
16
18
Original file line number Diff line number Diff line change @@ -34,9 +34,9 @@ class rule_entity extends base {
34
34
* Returns the default table aliases.
35
35
* @return array
36
36
*/
37
- protected function get_default_table_aliases (): array {
37
+ protected function get_default_tables (): array {
38
38
return [
39
- 'tool_dynamic_cohorts ' => ' tdc ' ,
39
+ 'tool_dynamic_cohorts ' ,
40
40
];
41
41
}
42
42
Original file line number Diff line number Diff line change @@ -42,6 +42,7 @@ protected function initialise(): void {
42
42
$ rule = rule::get_record (['id ' => $ ruleid ], MUST_EXIST );
43
43
44
44
$ userentity = new user ();
45
+ $ userentity ->set_table_alias ('user ' , 'u ' );
45
46
$ usertablealias = $ userentity ->get_table_alias ('user ' );
46
47
$ this ->set_main_table ('user ' , $ usertablealias );
47
48
$ this ->add_entity ($ userentity );
Original file line number Diff line number Diff line change 25
25
defined ('MOODLE_INTERNAL ' ) || die ();
26
26
27
27
$ plugin ->component = 'tool_dynamic_cohorts ' ;
28
- $ plugin ->release = 2024051000 ;
29
- $ plugin ->version = 2024051000 ;
28
+ $ plugin ->release = 2024062200 ;
29
+ $ plugin ->version = 2024062200 ;
30
30
$ plugin ->requires = 2022112800 ;
31
- $ plugin ->supported = [401 , 403 ];
31
+ $ plugin ->supported = [404 , 404 ];
32
32
$ plugin ->maturity = MATURITY_STABLE ;
You can’t perform that action at this time.
0 commit comments