Add missing global declaration
This commit is contained in:
parent
a53097f422
commit
4de71b44df
1 changed files with 1 additions and 1 deletions
|
@ -55,7 +55,7 @@ class restore_expcontent_activity_structure_step extends restore_activity_struct
|
|||
* @param stdClass $data the expcontent data
|
||||
*/
|
||||
protected function process_expcontent($data) {
|
||||
global $DB;
|
||||
global $DB, $USER;
|
||||
|
||||
$data = (object) $data;
|
||||
$data->course = $this->get_courseid();
|
||||
|
|
Loading…
Reference in a new issue