summaryrefslogtreecommitdiff
path: root/modules/forum
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2007-12-18 10:31:42 +0000
committerDries Buytaert <dries@buytaert.net>2007-12-18 10:31:42 +0000
commit02539ac3f830101345cf5c715b0001aa1eb5a9c0 (patch)
tree9695e9c6074e3e333c620c545810fb972617f2aa /modules/forum
parent9c835a88ca47ef10acb601d037490d60124b5b05 (diff)
downloadbrdo-02539ac3f830101345cf5c715b0001aa1eb5a9c0.tar.gz
brdo-02539ac3f830101345cf5c715b0001aa1eb5a9c0.tar.bz2
- Patch #195496 by bjaspan and hunmonk: no 'char' data type in Schema API (and removed spaces).
Diffstat (limited to 'modules/forum')
-rw-r--r--modules/forum/forum.install4
-rw-r--r--modules/forum/forum.module2
2 files changed, 3 insertions, 3 deletions
diff --git a/modules/forum/forum.install b/modules/forum/forum.install
index a68f18942..76b66a267 100644
--- a/modules/forum/forum.install
+++ b/modules/forum/forum.install
@@ -7,8 +7,8 @@
function forum_install() {
// Create tables.
drupal_install_schema('forum');
- // Set the weight of the forum.module to 1 so it is loaded after the taxonomy.module.
- db_query("UPDATE {system} SET weight = 1 WHERE name = 'forum'");
+ // Set the weight of the forum.module to 1 so it is loaded after the taxonomy.module.
+ db_query("UPDATE {system} SET weight = 1 WHERE name = 'forum'");
}
function forum_enable() {
diff --git a/modules/forum/forum.module b/modules/forum/forum.module
index 96fe5f8ef..92eb1c2e0 100644
--- a/modules/forum/forum.module
+++ b/modules/forum/forum.module
@@ -357,7 +357,7 @@ function forum_form_alter(&$form, $form_state, $form_id) {
$form['settings']['relations'] = array('#type' => 'value', '#value' => FALSE);
$form['settings']['tags'] = array('#type' => 'value', '#value' => FALSE);
$form['settings']['multiple'] = array('#type' => 'value', '#value' => FALSE);
- unset($form['delete']);
+ unset($form['delete']);
}
}
// Hide multiple parents select from forum terms.