mnet MDL-17629 fixed regression in fix_mnethostids

This commit is contained in:
Penny Leach
2010-02-18 01:17:43 +00:00
parent dfc0e676bc
commit c9606565ca
3 changed files with 7 additions and 2 deletions
+5
View File
@@ -3046,6 +3046,11 @@ WHERE gradeitemid IS NOT NULL AND grademax IS NOT NULL");
upgrade_main_savepoint($result, 2010021400);
}
if ($result && $oldversion < 2010021800) {
$DB->set_field('mnet_application', 'sso_jump_url', '/auth/mnet/jump.php', array('name' => 'moodle'));
upgrade_main_savepoint($result, 2010021800);
}
return $result;
}
+1 -1
View File
@@ -249,7 +249,7 @@ function upgrade_fix_incorrect_mnethostids() {
'display_name' => 'Moodle',
'xmlrpc_server_url' => '/mnet/xmlrpc/server.php',
'sso_land_url' => '/auth/mnet/land.php',
'sso_jump_url' => '/auth/mnet/land.php',
'sso_jump_url' => '/auth/mnet/jump.php',
);
$moodleapplicationid = $DB->insert_record('mnet_application', $m);
}
+1 -1
View File
@@ -6,7 +6,7 @@
// This is compared against the values stored in the database to determine
// whether upgrades should be performed (see lib/db/*.php)
$version = 2010021400; // YYYYMMDD = date of the last version bump
$version = 2010021800; // YYYYMMDD = date of the last version bump
// XX = daily increments
$release = '2.0 dev (Build: 20100218)'; // Human-friendly version name