|
224 | 224 | } |
225 | 225 | } |
226 | 226 | } else if ($trigger->subpluginname == 'opencast') { |
227 | | - if (lifecycle_is_plugin_installed('opencast', 'tool') === false) { |
| 227 | + if (lifecycle_is_plugin_installed('opencast', 'block') === false) { |
228 | 228 | $a = new \stdClass(); |
229 | 229 | $a->lifecyclesubplugin = get_string('trigger', 'tool_lifecycle') . ' ' . 'opencast'; |
230 | | - $a->plugin = "tool_opencast"; |
| 230 | + $a->plugin = "block_opencast"; |
231 | 231 | echo $OUTPUT->notification(get_string('workflownotvalid', 'tool_lifecycle')." ". |
232 | 232 | get_string('plugindependencynotmet', 'tool_lifecycle', $a), 'error'); |
233 | 233 | echo $renderer->footer(); |
|
239 | 239 | // Steps: Check if plugin dependencies are met. |
240 | 240 | foreach ($steps as $step) { |
241 | 241 | if ($step->subpluginname == 'opencast') { |
242 | | - if (lifecycle_is_plugin_installed('opencast', 'tool') === false) { |
| 242 | + if (lifecycle_is_plugin_installed('opencast', 'block') === false) { |
243 | 243 | $a = new \stdClass(); |
244 | 244 | $a->lifecyclesubplugin = get_string('step', 'tool_lifecycle') . ' ' . 'opencast'; |
245 | | - $a->plugin = "tool_opencast"; |
| 245 | + $a->plugin = "block_opencast"; |
246 | 246 | echo $OUTPUT->notification(get_string('workflownotvalid', 'tool_lifecycle')." ". |
247 | 247 | get_string('plugindependencynotmet', 'tool_lifecycle', $a), 'error'); |
248 | 248 | echo $renderer->footer(); |
|
0 commit comments