MDL-21655 big scary enrolment and roles improvements - see tacker for list of changes, includes other minor fixes too

This commit is contained in:
Petr Skoda
2010-03-31 07:41:31 +00:00
parent d1d4813ff2
commit 4f0c2d0009
225 changed files with 2941 additions and 3097 deletions
+1 -1
View File
@@ -747,7 +747,7 @@ function get_real_size($size=0) {
*/
function redirect_if_major_upgrade_required() {
global $CFG;
$lastmajordbchanges = 2009110400;
$lastmajordbchanges = 2010033103;
if (empty($CFG->version) or (int)$CFG->version < $lastmajordbchanges or
during_initial_install() or !empty($CFG->adminsetuppending)) {
try {