mirror of
https://github.com/moodle/moodle.git
synced 2025-08-06 01:16:44 +02:00
Fixes to logging and log display
This commit is contained in:
parent
498178e41e
commit
d7d1f618e8
4 changed files with 19 additions and 5 deletions
|
@ -6,7 +6,7 @@
|
|||
////////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
$module->fullname = "Forum";
|
||||
$module->version = 2002073008;
|
||||
$module->version = 2002080100;
|
||||
$module->cron = 60;
|
||||
$module->search = "";
|
||||
|
||||
|
@ -36,6 +36,11 @@ function forum_upgrade($oldversion) {
|
|||
notify("Renamed all the old discuss tables (now part of forum) and created new forum_types");
|
||||
}
|
||||
|
||||
if ($oldversion < 2002080100) {
|
||||
execute_sql("INSERT INTO log_display VALUES ('forum', 'view subscribers', 'forum', 'name') ");
|
||||
execute_sql("INSERT INTO log_display VALUES ('forum', 'update', 'forum', 'name') ");
|
||||
}
|
||||
|
||||
return true;
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue