}
+ /**
+ * sets this export to force queued
+ * sometimes plugins need to set this randomly
+ * if an external system changes its mind
+ * about what's supported
+ */
+ public function set_forcequeue() {
+ $this->forcequeue = true;
+ }
+
/**
* process the given stage calling whatever functions are necessary
*
throw new portfolio_export_exception($this->get('exporter'), 'failedtoping', 'portfolio_mahara');
}
if ($response->type =='queued') {
- $this->exporter->set('forcequeue', true);
+ $this->exporter->set_forcequeue();
}
}