Moodle  2.2.1
http://www.collinsharper.com
C:/xampp/htdocs/moodle/auth/db/db/install.php
Go to the documentation of this file.
00001 <?php
00002 
00003 function xmldb_auth_db_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, but only if internal
00009     $type = get_config('auth/db', 'passtype');
00010     if ($type and $type !== 'internal') {
00011         $DB->set_field('user', 'password', 'not cached', array('auth'=>'db'));
00012     }
00013 
00014 }
 All Data Structures Namespaces Files Functions Variables Enumerations