summaryrefslogtreecommitdiff
path: root/update.php
diff options
context:
space:
mode:
authorKjartan Mannes <kjartan@2.no-reply.drupal.org>2002-05-11 16:21:48 +0000
committerKjartan Mannes <kjartan@2.no-reply.drupal.org>2002-05-11 16:21:48 +0000
commit86552cb4b6a83dc218ea0164ddb7c9670f224ddb (patch)
tree65d981eb5f2d5704e6decedef514fcf083361cc7 /update.php
parentc72bf4b5f79297eff699bd6207f0acdb3bfc4e30 (diff)
downloadbrdo-86552cb4b6a83dc218ea0164ddb7c9670f224ddb.tar.gz
brdo-86552cb4b6a83dc218ea0164ddb7c9670f224ddb.tar.bz2
- changed block, module and theme config pages to use checkboxes.
- coding style clean ups. - fixed taxonomy causing errors.
Diffstat (limited to 'update.php')
-rw-r--r--update.php5
1 files changed, 3 insertions, 2 deletions
diff --git a/update.php b/update.php
index 31e692a53..ebdb6e700 100644
--- a/update.php
+++ b/update.php
@@ -403,6 +403,7 @@ function update_26() {
update_sql("ALTER TABLE term_synonym ADD INDEX (name(3));");
update_sql("ALTER TABLE term_node ADD INDEX (nid);");
update_sql("ALTER TABLE term_node ADD INDEX (tid);");
+ update_sql("UPDATE node SET comment = 2 WHERE comment = 1");
}
function update_27() {
@@ -456,7 +457,7 @@ function update_sql($sql) {
function update_data($start) {
global $mysql_updates;
$mysql_updates = array_slice($mysql_updates, ($start-- ? $start : 0));
- foreach ($mysql_updates as $date=>$func) {
+ foreach ($mysql_updates as $date => $func) {
print "<b>$date</b><br />\n<pre>\n";
$func();
variable_set("update_start", $date);
@@ -481,7 +482,7 @@ function update_page() {
$start = variable_get("update_start", 0);
$dates[] = "All";
$i = 1;
- foreach ($mysql_updates as $date=>$sql) {
+ foreach ($mysql_updates as $date => $sql) {
$dates[$i++] = $date;
if ($date == $start) {
$selected = $i;