Skip to content
Snippets Groups Projects
Commit e6d08dc2 authored by Tobias Reischmann's avatar Tobias Reischmann
Browse files

Fix redirect for workflow settings actions

parent 8e9e995c
Branches
Tags
No related merge requests found
......@@ -263,7 +263,7 @@ class workflow_manager {
// If no action has been called. Continue.
return;
}
if (!defined('PHPUNIT_TEST')) {
if (!defined('PHPUNIT_TEST') || !PHPUNIT_TEST) {
// In case of a called action, redirect to mainview.
redirect(new \moodle_url('/admin/tool/lifecycle/adminsettings.php'));
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment