Skip to content

Commit

Permalink
MDL-24187 mnet: fixed sso_jump_url for moodle application
Browse files Browse the repository at this point in the history
  • Loading branch information
mudrd8mz committed Sep 17, 2010
1 parent 56fb696 commit 0eadebb
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/db/install.php
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down
6 changes: 6 additions & 0 deletions lib/db/upgrade.php
Original file line number Diff line number Diff line change
Expand Up @@ -5244,6 +5244,12 @@ function xmldb_main_upgrade($oldversion) {
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;
}
Expand Down
2 changes: 1 addition & 1 deletion version.php
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 0eadebb

Please sign in to comment.