mirror of
https://github.com/moodle/moodle.git
synced 2025-03-03 07:19:09 +01:00
It wasn' working fine because the wiki_pages table hadn't an id (primary key) field. I've created, in the upgrade process, a temporary table to copy all the wiki_pages records and then, drop and create again the table. Tested under MySQL. Need to be tested (both creation and upgrade) under PostgreSQL!!! Minor modifications to ewikimoodlelib.php to work with this new id field too. Seems to work although deeper tests will be welcome (attachements, binary contents...) Cross your fingers! ;-)
13 lines
555 B
PHP
13 lines
555 B
PHP
<?PHP // $Id$
|
|
|
|
/////////////////////////////////////////////////////////////////////////////////
|
|
/// Code fragment to define the version of Wiki
|
|
/// This fragment is called by moodle_needs_upgrading() and /admin/index.php
|
|
/////////////////////////////////////////////////////////////////////////////////
|
|
|
|
$module->version = 2005022000; // The current module version (Date: YYYYMMDDXX)
|
|
$module->requires = 2005021600; // The current module version (Date: YYYYMMDDXX)
|
|
$module->cron = 0; // Period for cron to check this module (secs)
|
|
|
|
?>
|