mirror of
https://github.com/moodle/moodle.git
synced 2025-03-12 11:49:49 +01:00
It's not well tested yet - I'm hoping to do some testing on moodle.org with some real people and get this refined enough for the Beta release later today.
21 lines
461 B
PHP
21 lines
461 B
PHP
<?PHP // $Id$
|
|
|
|
function chat_upgrade($oldversion) {
|
|
// This function does anything necessary to upgrade
|
|
// older versions to match current functionality
|
|
|
|
global $CFG;
|
|
|
|
if ($oldversion < 2004022300) {
|
|
table_column("chat_messages", "", "groupid", "integer", "10", "unsigned", "0", "not null", "userid");
|
|
table_column("chat_users", "", "groupid", "integer", "10", "unsigned", "0", "not null", "userid");
|
|
}
|
|
|
|
|
|
return true;
|
|
}
|
|
|
|
|
|
?>
|
|
|