MDL-22463 Reinstating hotpot off-by-default status
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user