Commit 0c57b989 authored by webchick's avatar webchick
Browse files

#360106 by Dave Reid: Allow comment module to be uninstalled.

parent e8cff640
<?php
// $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().
*/
......
......@@ -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);
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment