]> git.mjollnir.org Git - moodle.git/commitdiff
merged, apply nick's patch for MDL-8534, typo in restorelib.php
authortoyomoyo <toyomoyo>
Tue, 20 Feb 2007 01:07:18 +0000 (01:07 +0000)
committertoyomoyo <toyomoyo>
Tue, 20 Feb 2007 01:07:18 +0000 (01:07 +0000)
backup/restorelib.php

index 86ec7ef8f28bc16dad9a99bef806d5e5d0a59472..1d0c0216af66ca24bab1fcecf848d18a948ba17b 100644 (file)
                             break;
                     }
                 }
-                if ($this->level == 6 && $this->tree[5]!="ROLE_ASSIGNMENTS" && $this->tree[5]!="ROLE_OVERRIDES") {
+                if ($this->level == 6 && $this->tree[5]!="ROLES_ASSIGNMENTS" && $this->tree[5]!="ROLES_OVERRIDES") {
                     switch ($tagName) {
                         case "ROLE":
                             //We've finalized a role, get it
                     }
                 }
                               
-                if ($this->level == 7 && $this->tree[5]!="ROLE_ASSIGNMENTS" && $this->tree[5]!="ROLE_OVERRIDES") {
+                if ($this->level == 7) {
                     switch ($tagName) {
                         case "TYPE":
                             $this->info->temprole->type = $this->getContents();
            fclose($restorelog); 
         }
     }
-?>
\ No newline at end of file
+?>