|
Moodle
2.2.1
http://www.collinsharper.com
|
00001 <?php 00002 00003 function xmldb_auth_imap_install() { 00004 global $CFG, $DB; 00005 00006 // upgrade from 1.9.x, introducing version.php 00007 00008 // remove cached passwords, we do not need them for this plugin 00009 $DB->set_field('user', 'password', 'not cached', array('auth'=>'imap')); 00010 00011 }