Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
project
drupal
Commits
0c57b989
Commit
0c57b989
authored
Jan 19, 2009
by
Angie Byron
Browse files
#360106
by Dave Reid: Allow comment module to be uninstalled.
parent
e8cff640
Changes
2
Hide whitespace changes
Inline
Side-by-side
modules/comment/comment.install
View file @
0c57b989
<?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().
*/
...
...
modules/system/system.install
View file @
0c57b989
...
...
@@ -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
);
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment