summaryrefslogtreecommitdiff
path: root/update.php
diff options
context:
space:
mode:
authorKjartan Mannes <kjartan@2.no-reply.drupal.org>2002-10-26 21:47:55 +0000
committerKjartan Mannes <kjartan@2.no-reply.drupal.org>2002-10-26 21:47:55 +0000
commit18eb8f050a9ff24d86278f1edcf1bf27cb7a9750 (patch)
treec28865954841d6598ba9f35698ca3d3f48254155 /update.php
parent470d763bdcadb07e87345ab8a0793019dd1641ae (diff)
downloadbrdo-18eb8f050a9ff24d86278f1edcf1bf27cb7a9750.tar.gz
brdo-18eb8f050a9ff24d86278f1edcf1bf27cb7a9750.tar.bz2
- making sure the type field is set right for blocks: 1 -> 0, 2 ->1.
Diffstat (limited to 'update.php')
-rw-r--r--update.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/update.php b/update.php
index 37181066d..31bf743a2 100644
--- a/update.php
+++ b/update.php
@@ -621,6 +621,8 @@ function update_42() {
function update_43() {
update_sql("ALTER TABLE blocks DROP remove");
update_sql("ALTER TABLE blocks DROP name");
+ update_sql("UPDATE blocks SET type = 0 WHERE type = 1");
+ update_sql("UPDATE blocks SET type = 1 WHERE type = 2");
}
function update_upgrade3() {