summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--modules/comment/comment.install16
-rw-r--r--modules/system/system.install2
2 files changed, 17 insertions, 1 deletions
diff --git a/modules/comment/comment.install b/modules/comment/comment.install
index b7195baba..e0c9d622b 100644
--- a/modules/comment/comment.install
+++ b/modules/comment/comment.install
@@ -2,6 +2,22 @@
// $Id$
/**
+ * Implementation of hook_install().
+ */
+function comment_install() {
+ // Create tables.
+ drupal_install_schema('comment');
+}
+
+/**
+ * Implementation of hook_uninstall().
+ */
+function comment_uninstall() {
+ // Remove tables.
+ drupal_uninstall_schema('comment');
+}
+
+/**
* Implementation of hook_enable().
*/
function comment_enable() {
diff --git a/modules/system/system.install b/modules/system/system.install
index 7e3714aa9..db2642679 100644
--- a/modules/system/system.install
+++ b/modules/system/system.install
@@ -330,7 +330,7 @@ function system_install() {
}
// Create tables.
- $modules = array('system', 'filter', 'block', 'user', 'node', 'comment', 'taxonomy');
+ $modules = array('system', 'filter', 'block', 'user', 'node', 'taxonomy');
foreach ($modules as $module) {
drupal_install_schema($module);
}