mirror of
https://github.com/moodle/moodle.git
synced 2025-04-13 04:22:07 +02:00
Fixing drift between CVS and git
This commit is contained in:
parent
de2f199b8b
commit
9b8b84dc91
13
auth/ldap/db/install.php
Normal file
13
auth/ldap/db/install.php
Normal file
@ -0,0 +1,13 @@
|
||||
<?php
|
||||
|
||||
function xmldb_auth_ldap_install() {
|
||||
global $CFG, $DB;
|
||||
|
||||
// upgrade from 1.9.x, introducing version.php
|
||||
|
||||
// remove cached passwords, we do not need them for this plugin, but only if internal
|
||||
if (get_config('auth/ldap', 'preventpassindb')) {
|
||||
$DB->set_field('user', 'password', 'not cached', array('auth'=>'ldap'));
|
||||
}
|
||||
|
||||
}
|
11
auth/mnet/db/install.php
Normal file
11
auth/mnet/db/install.php
Normal file
@ -0,0 +1,11 @@
|
||||
<?php
|
||||
|
||||
function xmldb_auth_mnet_install() {
|
||||
global $CFG, $DB;
|
||||
|
||||
// upgrade from 1.9.x, introducing version.php
|
||||
|
||||
// remove cached passwords, we do not need them for this plugin
|
||||
$DB->set_field('user', 'password', 'not cached', array('auth'=>'mnet'));
|
||||
|
||||
}
|
11
auth/nntp/db/install.php
Normal file
11
auth/nntp/db/install.php
Normal file
@ -0,0 +1,11 @@
|
||||
<?php
|
||||
|
||||
function xmldb_auth_nntp_install() {
|
||||
global $CFG, $DB;
|
||||
|
||||
// upgrade from 1.9.x, introducing version.php
|
||||
|
||||
// remove cached passwords, we do not need them for this plugin
|
||||
$DB->set_field('user', 'password', 'not cached', array('auth'=>'nntp'));
|
||||
|
||||
}
|
11
auth/pam/db/install.php
Normal file
11
auth/pam/db/install.php
Normal file
@ -0,0 +1,11 @@
|
||||
<?php
|
||||
|
||||
function xmldb_auth_pam_install() {
|
||||
global $CFG, $DB;
|
||||
|
||||
// upgrade from 1.9.x, introducing version.php
|
||||
|
||||
// remove cached passwords, we do not need them for this plugin
|
||||
$DB->set_field('user', 'password', 'not cached', array('auth'=>'pam'));
|
||||
|
||||
}
|
11
auth/pop3/db/install.php
Normal file
11
auth/pop3/db/install.php
Normal file
@ -0,0 +1,11 @@
|
||||
<?php
|
||||
|
||||
function xmldb_auth_pop3_install() {
|
||||
global $CFG, $DB;
|
||||
|
||||
// upgrade from 1.9.x, introducing version.php
|
||||
|
||||
// remove cached passwords, we do not need them for this plugin
|
||||
$DB->set_field('user', 'password', 'not cached', array('auth'=>'pop3'));
|
||||
|
||||
}
|
11
auth/radius/db/install.php
Normal file
11
auth/radius/db/install.php
Normal file
@ -0,0 +1,11 @@
|
||||
<?php
|
||||
|
||||
function xmldb_auth_radius_install() {
|
||||
global $CFG, $DB;
|
||||
|
||||
// upgrade from 1.9.x, introducing version.php
|
||||
|
||||
// remove cached passwords, we do not need them for this plugin
|
||||
$DB->set_field('user', 'password', 'not cached', array('auth'=>'radius'));
|
||||
|
||||
}
|
11
auth/shibboleth/db/install.php
Normal file
11
auth/shibboleth/db/install.php
Normal file
@ -0,0 +1,11 @@
|
||||
<?php
|
||||
|
||||
function xmldb_auth_shibboleth_install() {
|
||||
global $CFG, $DB;
|
||||
|
||||
// upgrade from 1.9.x, introducing version.php
|
||||
|
||||
// remove cached passwords, we do not need them for this plugin
|
||||
$DB->set_field('user', 'password', 'not cached', array('auth'=>'shibboleth'));
|
||||
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user