mirror of
https://github.com/moodle/moodle.git
synced 2025-04-20 16:04:25 +02:00
MDL-23142, Portfolio Export should require mod/assignment/lib.php thanks to Dan Marsden, and remove stored_file.php from portfolio
This commit is contained in:
parent
1230b9c96e
commit
13ce122930
@ -18,6 +18,7 @@
|
||||
// this file contains all the functions that aren't needed by core moodle
|
||||
// but start becoming required once we're actually inside the assignment module.
|
||||
|
||||
require_once($CFG->dirroot . '/mod/assignment/lib.php');
|
||||
require_once($CFG->libdir . '/portfolio/caller.php');
|
||||
|
||||
/**
|
||||
@ -151,4 +152,4 @@ class assignment_portfolio_caller extends portfolio_module_caller_base {
|
||||
public static function base_supported_formats() {
|
||||
return array(PORTFOLIO_FORMAT_FILE, PORTFOLIO_FORMAT_LEAP2A);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -35,7 +35,6 @@ if (empty($CFG->enableportfolios)) {
|
||||
|
||||
require_once($CFG->libdir . '/portfoliolib.php');
|
||||
require_once($CFG->libdir . '/portfolio/exporter.php');
|
||||
require_once($CFG->libdir . '/file/stored_file.php');
|
||||
require_once($CFG->libdir . '/filelib.php');
|
||||
|
||||
// exporter id
|
||||
|
Loading…
x
Reference in New Issue
Block a user