Skip to content

Commit

Permalink
Merge branch 'w07_MDL-26376_20_shib' of git://github.com/skodak/moodle
Browse files Browse the repository at this point in the history
  • Loading branch information
stronk7 committed Feb 14, 2011
2 parents 42bdecd + cd138b2 commit 2e6bd88
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions auth/shibboleth/auth.php
Original file line number Diff line number Diff line change
Expand Up @@ -242,7 +242,7 @@ function process_config($config) {

// set to defaults if undefined
if (!isset($config->auth_instructions) or empty($config->user_attribute)) {
$config->auth_instructions = get_string('shibboleth_instructions', 'auth', $CFG->wwwroot.'/auth/shibboleth/index.php');
$config->auth_instructions = get_string('auth_shib_instructions', 'auth_shibboleth', $CFG->wwwroot.'/auth/shibboleth/index.php');
}
if (!isset ($config->user_attribute)) {
$config->user_attribute = '';
Expand Down Expand Up @@ -292,7 +292,7 @@ function process_config($config) {
} else {
// Check if integrated WAYF was enabled and is now turned off
// If it was and only then, reset the Moodle alternate URL
if ($this->config->alt_login == 'on'){
if (isset($this->config->alt_login) and $this->config->alt_login == 'on'){
set_config('alt_login', 'off', 'auth/shibboleth');
set_config('alternateloginurl', '');
}
Expand Down

0 comments on commit 2e6bd88

Please sign in to comment.