mirror of
https://github.com/moodle/moodle.git
synced 2025-03-08 17:59:55 +01:00
18 lines
361 B
PHP
18 lines
361 B
PHP
<?php //$Id$
|
|
|
|
// This file replaces:
|
|
// * STATEMENTS section in db/install.xml
|
|
// * lib.php/modulename_install() post installation hook
|
|
// * partially defaults.php
|
|
|
|
function xmldb_hotpot_install() {
|
|
global $DB;
|
|
|
|
/// Disable it by default
|
|
$DB->set_field('modules', 'visible', 0, array('name'=>'hotpot'));
|
|
|
|
/// Install logging support here
|
|
|
|
|
|
}
|