mirror of
https://github.com/moodle/moodle.git
synced 2025-01-19 14:27:22 +01:00
17 lines
459 B
PHP
17 lines
459 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_lesson_install() {
|
|
global $DB;
|
|
|
|
/// Install logging support
|
|
update_log_display_entry('lesson', 'start', 'lesson', 'name');
|
|
update_log_display_entry('lesson', 'end', 'lesson', 'name');
|
|
update_log_display_entry('lesson', 'view', 'lesson_pages', 'title');
|
|
|
|
}
|