mirror of
https://github.com/moodle/moodle.git
synced 2025-08-04 16:36:37 +02:00
MDL-9742 - changed tabs to spaces in a few places where there are one
or two
This commit is contained in:
parent
3ef1be377b
commit
a044c05ddb
24 changed files with 85 additions and 85 deletions
|
@ -35,23 +35,23 @@ function xmldb_enrol_authorize_upgrade($oldversion=0) {
|
|||
if ($result && $oldversion < 2006112900) {
|
||||
if (isset($CFG->an_login)) {
|
||||
if (empty($CFG->an_login)) {
|
||||
unset_config('an_login');
|
||||
unset_config('an_login');
|
||||
}
|
||||
else {
|
||||
$result = $result && set_config('an_login', rc4encrypt($CFG->an_login), 'enrol/authorize') && unset_config('an_login');
|
||||
$result = $result && set_config('an_login', rc4encrypt($CFG->an_login), 'enrol/authorize') && unset_config('an_login');
|
||||
}
|
||||
}
|
||||
if (isset($CFG->an_tran_key)) {
|
||||
if (empty($CFG->an_tran_key)) {
|
||||
unset_config('an_tran_key');
|
||||
unset_config('an_tran_key');
|
||||
}
|
||||
else {
|
||||
$result = $result && set_config('an_tran_key', rc4encrypt($CFG->an_tran_key), 'enrol/authorize') && unset_config('an_tran_key');
|
||||
$result = $result && set_config('an_tran_key', rc4encrypt($CFG->an_tran_key), 'enrol/authorize') && unset_config('an_tran_key');
|
||||
}
|
||||
}
|
||||
if (isset($CFG->an_password)) {
|
||||
if (empty($CFG->an_password)) {
|
||||
unset_config('an_password');
|
||||
unset_config('an_password');
|
||||
}
|
||||
else {
|
||||
$result = $result && set_config('an_password', rc4encrypt($CFG->an_password), 'enrol/authorize') && unset_config('an_password');
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue