MDL-20948 proper removal of cached pasword hashes just in case upgrading from <1.9.7
[moodle.git] / auth / cas / db / install.php
CommitLineData
9d0de271
PS
1<?php
2
3function xmldb_auth_cas_install() {
4 global $CFG, $DB;
5
6 // upgrade from 1.9.x, introducing version.php
7
bdebf74c 8 // remove cached passwords, we do not need them for this plugin
9d0de271
PS
9 $DB->set_field('user', 'password', 'not cached', array('auth'=>'cas'));
10
11}