summaryrefslogtreecommitdiff
path: root/modules/image
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2009-09-10 06:38:20 +0000
committerDries Buytaert <dries@buytaert.net>2009-09-10 06:38:20 +0000
commit029c48c68d7f4f2bc94e93e3333908ca158433c5 (patch)
treebf1fef18db8910f94ee977861829b966d42efb00 /modules/image
parent82b51dff1d2fd90b439129c70b415d30a06d1bce (diff)
downloadbrdo-029c48c68d7f4f2bc94e93e3333908ca158433c5.tar.gz
brdo-029c48c68d7f4f2bc94e93e3333908ca158433c5.tar.bz2
- Patch #306151 by agentrickard, David_Rothstein, Dave Reid, dbabbage, moshe weitzman: automatically install/uninstall schema.
Diffstat (limited to 'modules/image')
-rw-r--r--modules/image/image.install4
1 files changed, 0 insertions, 4 deletions
diff --git a/modules/image/image.install b/modules/image/image.install
index b963605dc..8cd205e19 100644
--- a/modules/image/image.install
+++ b/modules/image/image.install
@@ -10,8 +10,6 @@
* Implement hook_install().
*/
function image_install() {
- drupal_install_schema('image');
-
// Create the styles directory and ensure it's writable.
$path = file_directory_path() . '/styles';
file_prepare_directory($path, FILE_CREATE_DIRECTORY | FILE_MODIFY_PERMISSIONS);
@@ -21,8 +19,6 @@ function image_install() {
* Implement hook_uninstall().
*/
function image_uninstall() {
- drupal_uninstall_schema('image');
-
// Remove the styles directory and generated images.
$path = file_directory_path() . '/styles';
file_unmanaged_delete_recursive($path);