MDL-23196 html block - prevent this update to happen. It cleans all the HTML blocks!

This commit is contained in:
Eloy Lafuente
2010-07-16 16:16:17 +00:00
parent 1aa66713a5
commit e2a4f9492f
+1 -1
View File
@@ -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';