Fixes to logging and log display

This commit is contained in:
martin 2002-07-31 16:53:32 +00:00
parent 498178e41e
commit d7d1f618e8
4 changed files with 19 additions and 5 deletions

View file

@ -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;
}