]> git.mjollnir.org Git - moodle.git/commitdiff
DOn't terminate upgrade if stats didn't work
authormoodler <moodler>
Fri, 22 Sep 2006 06:10:42 +0000 (06:10 +0000)
committermoodler <moodler>
Fri, 22 Sep 2006 06:10:42 +0000 (06:10 +0000)
admin/index.php

index 73f83f8f068d701e1a7080b13f59e54a3d8932be..bd924b86919470b683fde6d23118b807fce83438 100644 (file)
                     }
                     require_once($CFG->libdir.'/statslib.php');
                     if (!stats_upgrade_for_roles_wrapper()) {
-                        error('Couldn\'t upgrade the stats tables to use the new roles system');
+                        notify('Couldn\'t upgrade the stats tables to use the new roles system');
                     }
                     if (!update_capabilities()) {
                         error('Had trouble upgrading the core capabilities for the Roles System');