From 5dc2d8ef3a603c7664153487f1340cb90b7944c8 Mon Sep 17 00:00:00 2001 From: stronk7 Date: Mon, 7 Feb 2005 17:58:50 +0000 Subject: [PATCH] deleted some negations used to test the restore metadata process. :-) --- backup/restorelib.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/backup/restorelib.php b/backup/restorelib.php index 00235d48b4..35009e5f45 100644 --- a/backup/restorelib.php +++ b/backup/restorelib.php @@ -876,7 +876,7 @@ $dbmetacourse = false; //Check if child course exists in destination server //(by id in the same server or by idnumber and shortname in other server) - if (!$restore->original_wwwroot == $CFG->wwwroot) { + if ($restore->original_wwwroot == $CFG->wwwroot) { //Same server, lets see by id $dbcourse = get_record('course','id',$child->id); } else { @@ -906,7 +906,7 @@ $dbmetacourse = false; //Check if parent course exists in destination server //(by id in the same server or by idnumber and shortname in other server) - if (!$restore->original_wwwroot == $CFG->wwwroot) { + if ($restore->original_wwwroot == $CFG->wwwroot) { //Same server, lets see by id $dbcourse = get_record('course','id',$parent->id); } else { -- 2.39.5