. /** * Feedback block installation. * * @package block_feedback * @copyright 1999 onwards Martin Dougiamas (http://dougiamas.com) * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later */ function xmldb_block_feedback_install() { global $DB; /// Disable this block by default (because Feedback is not technically part of 2.0) $DB->set_field('block', 'visible', 0, array('name'=>'feedback')); }