Merge branch 'MDL-41041-master' of git://github.com/FMCorz/moodle

This commit is contained in:
Dan Poltawski
2013-11-01 08:56:58 +08:00
committed by Sam Hemelryk
+2 -1
View File
@@ -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);
}