MDL-22463 Reinstating hotpot off-by-default status

This commit is contained in:
Martin Dougiamas
2010-05-14 05:31:00 +00:00
parent 9e43b1db73
commit 8e5c082816
+17
View File
@@ -0,0 +1,17 @@
<?php
// 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
}