Skip to content

Commit

Permalink
MDL-23142, Portfolio Export should require mod/assignment/lib.php tha…
Browse files Browse the repository at this point in the history
…nks to Dan Marsden, and remove stored_file.php from portfolio
  • Loading branch information
Dongsheng Cai committed Jul 8, 2010
1 parent 1230b9c commit 13ce122
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
3 changes: 2 additions & 1 deletion mod/assignment/locallib.php
Original file line number Diff line number Diff line change
Expand Up @@ -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');

/**
Expand Down Expand Up @@ -151,4 +152,4 @@ public static function display_name() {
public static function base_supported_formats() {
return array(PORTFOLIO_FORMAT_FILE, PORTFOLIO_FORMAT_LEAP2A);
}
}
}
1 change: 0 additions & 1 deletion portfolio/file.php
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,6 @@

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
Expand Down

0 comments on commit 13ce122

Please sign in to comment.