MDL-17427 - removed old file based logging from ugprade - going to add new upgrade logging later
This commit is contained in:
@@ -1226,7 +1226,6 @@ function upgrade_blocks_plugins() {
|
||||
echo '<hr />';
|
||||
}
|
||||
} else {
|
||||
upgrade_log_start();
|
||||
print_error('cannotdowngrade', 'debug', '', (object)array('oldversion'=>$currblock->version, 'newversion'=>$block->version));
|
||||
}
|
||||
|
||||
@@ -1297,7 +1296,6 @@ function upgrade_blocks_plugins() {
|
||||
}
|
||||
|
||||
if(!empty($notices)) {
|
||||
upgrade_log_start();
|
||||
foreach($notices as $notice) {
|
||||
notify($notice);
|
||||
}
|
||||
@@ -1306,8 +1304,6 @@ function upgrade_blocks_plugins() {
|
||||
// Finally, if we are in the first_install of BLOCKS setup frontpage and admin page blocks
|
||||
if ($first_install) {
|
||||
require_once($CFG->dirroot.'/'.$CFG->admin.'/pagelib.php');
|
||||
|
||||
upgrade_log_start();
|
||||
//Iterate over each course - there should be only site course here now
|
||||
if ($courses = $DB->get_records('course')) {
|
||||
foreach ($courses as $course) {
|
||||
@@ -1321,8 +1317,6 @@ function upgrade_blocks_plugins() {
|
||||
blocks_repopulate_page($page);
|
||||
}
|
||||
|
||||
upgrade_log_finish();
|
||||
|
||||
return $updated_blocks;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user