mirror of
https://github.com/moodle/moodle.git
synced 2025-04-20 16:04:25 +02:00
MDL-20948 proper removal of cached pasword hashes just in case upgrading from <1.9.7
This commit is contained in:
parent
45e6ecdae1
commit
9d0de271a5
11
auth/cas/db/install.php
Normal file
11
auth/cas/db/install.php
Normal file
@ -0,0 +1,11 @@
|
||||
<?php
|
||||
|
||||
function xmldb_auth_cas_install() {
|
||||
global $CFG, $DB;
|
||||
|
||||
// upgrade from 1.9.x, introducing version.php
|
||||
|
||||
// remove cached passowrds, we do not need them for this plugin
|
||||
$DB->set_field('user', 'password', 'not cached', array('auth'=>'cas'));
|
||||
|
||||
}
|
3
auth/cas/version.php
Normal file
3
auth/cas/version.php
Normal file
@ -0,0 +1,3 @@
|
||||
<?php
|
||||
|
||||
$plugin->version = 2009112400;
|
Loading…
x
Reference in New Issue
Block a user