mirror of
https://github.com/moodle/moodle.git
synced 2025-01-20 15:08:32 +01:00
1fc49f0019
to another. A simple popup menu now appears when teachers view any discussion. Includes a new log entry to log when a discussion is moved.
21 lines
360 B
PHP
21 lines
360 B
PHP
<?PHP // $Id$
|
|
|
|
function forum_upgrade($oldversion) {
|
|
// This function does anything necessary to upgrade
|
|
// older versions to match current functionality
|
|
|
|
global $CFG;
|
|
|
|
if ($oldversion < 2003042402) {
|
|
execute_sql("INSERT INTO {$CFG->prefix}log_display VALUES ('forum', 'move discussion', 'forum_discussions', 'name')");
|
|
}
|
|
|
|
return true;
|
|
|
|
}
|
|
|
|
|
|
|
|
?>
|
|
|