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

Go to the source code of this file.

Namespaces

namespace  blocks

Functions

 xmldb_block_settings_upgrade ($oldversion, $block)

Function Documentation

xmldb_block_settings_upgrade ( oldversion,
block 
)

As of the implementation of this block and the general navigation code in Moodle 2.0 the body of immediate upgrade work for this block and settings is done in core upgrade {

See also:
lib/db/upgrade.php}

There were several reasons that they were put there and not here, both becuase the process for the two blocks was very similar and because the upgrade process was complex due to us wanting to remvoe the outmoded blocks that this block was going to replace.

moodle_database $DB

Parameters:
int$oldversion
object$block

Definition at line 55 of file upgrade.php.

Here is the call graph for this function:

 All Data Structures Namespaces Files Functions Variables Enumerations