<?php //$Id: upgrade.php,v 1.0 2008/12/22 23:23:53 mlazar Exp $
// This file keeps track of upgrades to
// the WebConference module
//
// Sometimes, changes between versions involve
// changes to the DB Schema and other
// things that may break the module
//
// The upgrade function in this file will try and
// execute the necessary actions to upgrade
// your older installtion to the current version.
//
// If there's something the upgrade script cannot do itself,
// you will be notified of what you need to do.
//
// The commands in here will all be database-neutral,
// using the functions defined in lib/ddllib.php
function xmldb_mod_webconference_upgrade($oldversion=0) {
global $CFG, $THEME, $db;
$result = true;
if ($oldversion < 20090601) {
$result = install_from_xmldb_file($CFG->dirroot . '/mod/webconference/db/install.xml');
}
return $result;
}
?>