MDL-23196 html block - prevent this update to happen. It cleans all the HTML blocks!
This commit is contained in:
@@ -34,7 +34,7 @@ function xmldb_block_html_upgrade($oldversion) {
|
||||
|
||||
$dbman = $DB->get_manager();
|
||||
|
||||
if ($oldversion < 2010071501) {
|
||||
if ($oldversion < 2010071501 && false) { // TODO: MDL-23196 !!!
|
||||
$params = array();
|
||||
$sql = "SELECT * FROM {block_instances} b WHERE b.blockname = :blockname";
|
||||
$params['blockname'] = 'html';
|
||||
|
||||
Reference in New Issue
Block a user