MDL-24187 mnet: fixed sso_jump_url for moodle application

This commit is contained in:
David Mudrak
2010-09-17 14:10:20 +00:00
parent 56fb6963c1
commit 0eadebb1f6
3 changed files with 8 additions and 2 deletions
+1 -1
View File
@@ -111,7 +111,7 @@ function xmldb_main_install() {
$mnet_app->display_name = 'Moodle';
$mnet_app->xmlrpc_server_url = '/mnet/xmlrpc/server.php';
$mnet_app->sso_land_url = '/auth/mnet/land.php';
$mnet_app->sso_jump_url = '/auth/mnet/land.php';
$mnet_app->sso_jump_url = '/auth/mnet/jump.php';
$moodleapplicationid = $DB->insert_record('mnet_application', $mnet_app);
$mnet_app = new object();
+6
View File
@@ -5244,6 +5244,12 @@ WHERE gradeitemid IS NOT NULL AND grademax IS NOT NULL");
upgrade_main_savepoint(true, 2010091510);
}
if ($oldversion < 2010091700) {
// Fix MNet sso_jump_url for Moodle application
$DB->set_field('mnet_application', 'sso_jump_url', '/auth/mnet/jump.php',
array('name' => 'moodle', 'sso_jump_url' => '/auth/mnet/land.php'));
upgrade_main_savepoint(true, 2010091700);
}
return true;
}
+1 -1
View File
@@ -29,7 +29,7 @@
defined('MOODLE_INTERNAL') || die();
$version = 2010091600; // YYYYMMDD = date of the last version bump
$version = 2010091700; // YYYYMMDD = date of the last version bump
// XX = daily increments
$release = '2.0 Preview 4+ (Build: 20100917)'; // Human-friendly version name