mirror of
https://github.com/moodle/moodle.git
synced 2025-04-22 08:55:15 +02:00
portfolio MDL-24035 Fixed up context notification
This commit is contained in:
parent
258a66dcce
commit
3fad0df680
@ -50,6 +50,7 @@ $callbackclass = optional_param('callbackclass', null, PARAM_ALPHAEXT); //
|
||||
$callerformats = optional_param('callerformats', null, PARAM_TAGLIST); // comma separated list of formats the specific place exporting content supports
|
||||
|
||||
require_login(); // this is selectively called again with $course later when we know for sure which one we're in.
|
||||
$PAGE->set_context(get_system_context());
|
||||
$PAGE->set_url('/portfolio/add.php', array('id' => $dataid, 'sesskey' => sesskey()));
|
||||
$PAGE->set_pagelayout('standard');
|
||||
$exporter = null;
|
||||
|
Loading…
x
Reference in New Issue
Block a user