One missing global was preventig users becoming teacher of

the course being restored. MDL-6084
This commit is contained in:
stronk7 2006-10-04 17:33:48 +00:00
parent 14e0fcb120
commit 14a60a077b

View file

@ -4843,7 +4843,7 @@
}
function restore_execute(&$restore,$info,$course_header,&$errorstr) {
global $CFG;
global $CFG, $USER;
$status = true;
//Checks for the required files/functions to restore every module
//and include them