mirror of
https://github.com/moodle/moodle.git
synced 2025-08-05 00:46:50 +02:00
portfolio: MDL-20850 fixed some navigation/output
This commit is contained in:
parent
154acd7aa3
commit
f1d2641df6
3 changed files with 26 additions and 30 deletions
|
@ -52,12 +52,6 @@ class portfolio_exporter {
|
|||
*/
|
||||
private $noexportconfig;
|
||||
|
||||
/**
|
||||
* the navigation to display on the wizard screens
|
||||
* built from build_navigation
|
||||
*/
|
||||
private $navigation;
|
||||
|
||||
/**
|
||||
* the user currently exporting content
|
||||
* always $USER, but more conveniently placed here
|
||||
|
@ -125,11 +119,8 @@ class portfolio_exporter {
|
|||
* @param portfolio_plugin_base subclass $instance portfolio instance (passed by reference)
|
||||
* @param portfolio_caller_base subclass $caller portfolio caller (passed by reference)
|
||||
* @param string $callerfile path to callerfile (relative to dataroot)
|
||||
* @param string $navigation result of build_navigation (passed to print_header)
|
||||
* deprecated argument as of Moodle 2.0, please use $PAGE methods
|
||||
* instead.
|
||||
*/
|
||||
public function __construct(&$instance, &$caller, $callerfile, $navigation='') {
|
||||
public function __construct(&$instance, &$caller, $callerfile) {
|
||||
$this->instance =& $instance;
|
||||
$this->caller =& $caller;
|
||||
if ($instance) {
|
||||
|
@ -138,7 +129,6 @@ class portfolio_exporter {
|
|||
}
|
||||
$this->callerfile = $callerfile;
|
||||
$this->stage = PORTFOLIO_STAGE_CONFIG;
|
||||
$this->navigation = $navigation;
|
||||
$this->caller->set('exporter', $this);
|
||||
$this->alreadystolen = array();
|
||||
$this->newfilehashes = array();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue