Merge branch 'MDL-41041-master' of git://github.com/FMCorz/moodle
This commit is contained in:
@@ -436,7 +436,8 @@ class portfolio_exporter {
|
||||
public function process_stage_queueorwait() {
|
||||
$wait = $this->instance->get_export_config('wait');
|
||||
if (empty($wait)) {
|
||||
events_trigger('portfolio_send', $this->id);
|
||||
// TODO MDL-42541 Removing usage of events_trigger().
|
||||
events_trigger_legacy('portfolio_send', $this->id);
|
||||
$this->queued = true;
|
||||
return $this->process_stage_finished(true);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user