Skip to content
Browse files

One missing global was preventig users becoming teacher of

the course being restored. MDL-6084
  • Loading branch information...
stronk7 committed Oct 4, 2006
1 parent 14e0fcb commit 14a60a077b0dab52e0c182e55e9f6403faa86500
Showing with 1 addition and 1 deletion.
  1. +1 −1 backup/restorelib.php
@@ -4843,7 +4843,7 @@ function restore_userdata_selected($restore,$modname,$modid) {
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

0 comments on commit 14a60a0

Please sign in to comment.
You can’t perform that action at this time.