Skip to content

Commit 5460598

Browse files
committed
update changes.md and version date
1 parent d350005 commit 5460598

File tree

20 files changed

+31
-30
lines changed

20 files changed

+31
-30
lines changed

CHANGES.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
11
CHANGELOG
22
=========
33

4-
4.5.0 (2025-04-27)
4+
4.5.0 (2025-04-28)
55
------------------
6+
* [FEATURE] Workflowoverview: Added possibility to select single courses for process
67
* [FEATURE] Add customfielddelay trigger
78
* [FEATURE] At least one trigger and one step necessary for activating a workflow
89
* [FEATURE] After workflow creation you have to add course selection trigger at first

db/upgrade.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -502,7 +502,7 @@ function xmldb_tool_lifecycle_upgrade($oldversion) {
502502

503503
}
504504

505-
if ($oldversion < 2025042400) {
505+
if ($oldversion < 2025042800) {
506506

507507
// Changing precision of field instancename on table tool_lifecycle_trigger to (100).
508508
$table = new xmldb_table('tool_lifecycle_trigger');
@@ -575,16 +575,16 @@ function xmldb_tool_lifecycle_upgrade($oldversion) {
575575
$dbman->add_field($table, $field);
576576
}
577577

578-
$triggers = trigger_manager::get_instances('lifecycletrigger_delayedcourses');
578+
$triggers = trigger_manager::get_instances('delayedcourses');
579579
foreach ($triggers as $trigger) {
580580
workflow_manager::remove($trigger->workflowid);
581581
}
582-
$triggers = trigger_manager::get_instances('lifecycletrigger_sitecourse');
582+
$triggers = trigger_manager::get_instances('sitecourse');
583583
foreach ($triggers as $trigger) {
584584
workflow_manager::remove($trigger->workflowid);
585585
}
586586

587-
upgrade_plugin_savepoint(true, 2025042400, 'tool', 'lifecycle');
587+
upgrade_plugin_savepoint(true, 2025042800, 'tool', 'lifecycle');
588588

589589
}
590590

step/adminapprove/db/upgrade.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ function xmldb_lifecyclestep_adminapprove_upgrade($oldversion) {
3737

3838
global $DB;
3939
$dbman = $DB->get_manager();
40-
if ($oldversion < 2025042400) {
40+
if ($oldversion < 2025042800) {
4141

4242
// Define table lifecyclestep_adminapprove to be created.
4343
$table = new xmldb_table('lifecyclestep_adminapprove');
@@ -57,7 +57,7 @@ function xmldb_lifecyclestep_adminapprove_upgrade($oldversion) {
5757
}
5858

5959
// Adminapprove savepoint reached.
60-
upgrade_plugin_savepoint(true, 2025042400, 'lifecyclestep', 'adminapprove');
60+
upgrade_plugin_savepoint(true, 2025042800, 'lifecyclestep', 'adminapprove');
6161
}
6262
return true;
6363
}

step/adminapprove/version.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,10 +24,10 @@
2424

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

27-
$plugin->version = 2025042400;
27+
$plugin->version = 2025042800;
2828
$plugin->component = 'lifecyclestep_adminapprove';
2929
$plugin->dependencies = [
30-
'tool_lifecycle' => 2025042400,
30+
'tool_lifecycle' => 2025042800,
3131
];
3232
$plugin->requires = 2024100700; // Requires Moodle 4.5+.
3333
$plugin->supported = [401, 405];

step/createbackup/version.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424

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

27-
$plugin->version = 2025042400;
27+
$plugin->version = 2025042800;
2828
$plugin->requires = 2024100700; // Requires Moodle 4.5+.
2929
$plugin->supported = [401, 405];
3030
$plugin->component = 'lifecyclestep_createbackup';

step/deletecourse/version.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424

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

27-
$plugin->version = 2025042400;
27+
$plugin->version = 2025042800;
2828
$plugin->requires = 2024100700; // Requires Moodle 4.5+.
2929
$plugin->supported = [401, 405];
3030
$plugin->component = 'lifecyclestep_deletecourse';

step/duplicate/version.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424

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

27-
$plugin->version = 2025042400;
27+
$plugin->version = 2025042800;
2828
$plugin->requires = 2024100700; // Requires Moodle 4.5+.
2929
$plugin->supported = [401, 405];
3030
$plugin->component = 'lifecyclestep_duplicate';

step/email/db/upgrade.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ function xmldb_lifecyclestep_email_upgrade($oldversion) {
3737

3838
global $DB;
3939
$dbman = $DB->get_manager();
40-
if ($oldversion < 2025042400) {
40+
if ($oldversion < 2025042800) {
4141
$table = new xmldb_table('lifecyclestep_email_notified');
4242

4343
// Adding fields to table lifecyclestep_email_notified.
@@ -57,7 +57,7 @@ function xmldb_lifecyclestep_email_upgrade($oldversion) {
5757
}
5858

5959
// Lifecycle savepoint reached.
60-
upgrade_plugin_savepoint(true, 2025042400, 'lifecyclestep', 'email');
60+
upgrade_plugin_savepoint(true, 2025042800, 'lifecyclestep', 'email');
6161
}
6262
return true;
6363
}

step/email/version.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
defined('MOODLE_INTERNAL') || die;
2626

2727

28-
$plugin->version = 2025042400;
28+
$plugin->version = 2025042800;
2929
$plugin->requires = 2024100700; // Requires Moodle 4.5+.
3030
$plugin->supported = [401, 405];
3131
$plugin->component = 'lifecyclestep_email';

step/makeinvisible/version.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,12 +24,12 @@
2424

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

27-
$plugin->version = 2025042400;
27+
$plugin->version = 2025042800;
2828
$plugin->requires = 2024100700; // Requires Moodle 4.5+.
2929
$plugin->supported = [401, 405];
3030
$plugin->component = 'lifecyclestep_makeinvisible';
3131
$plugin->dependencies = [
32-
'tool_lifecycle' => 2025042400,
32+
'tool_lifecycle' => 2025042800,
3333
];
3434
$plugin->release = 'v4.5-r1';
3535
$plugin->maturity = MATURITY_STABLE;

0 commit comments

Comments
 (0)