Moodle  2.2.1
http://www.collinsharper.com
C:/xampp/htdocs/moodle/mod/glossary/db/upgrade.php File Reference

Go to the source code of this file.

Functions

 xmldb_glossary_upgrade ($oldversion)

Function Documentation

xmldb_glossary_upgrade ( oldversion)

new file storage upgrade code ///

Rename field definitionformat on table glossary_entries to definitionformat

Launch rename field definitionformat

glossary savepoint reached

Define field definitiontrust to be added to glossary_entries

Launch add field definitiontrust

glossary savepoint reached

Rename field format on table glossary_comments to NEWNAMEGOESHERE

Launch rename field format

glossary savepoint reached

Define field entrycommenttrust to be added to glossary_comments

Conditionally launch add field entrycommenttrust

glossary savepoint reached

glossary savepoint reached

glossary savepoint reached

Define field introformat to be added to glossary

Conditionally launch add field introformat

glossary savepoint reached

Define table glossary_comments to be dropped

Conditionally launch drop table for glossary_comments

move glossary comments to comments table

glossary savepoint reached

Definition at line 23 of file upgrade.php.

Here is the call graph for this function:

 All Data Structures Namespaces Files Functions Variables Enumerations