diff options
author | Dries Buytaert <dries@buytaert.net> | 2009-09-10 06:38:20 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2009-09-10 06:38:20 +0000 |
commit | 029c48c68d7f4f2bc94e93e3333908ca158433c5 (patch) | |
tree | bf1fef18db8910f94ee977861829b966d42efb00 /modules/upload/upload.install | |
parent | 82b51dff1d2fd90b439129c70b415d30a06d1bce (diff) | |
download | brdo-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/upload/upload.install')
-rw-r--r-- | modules/upload/upload.install | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/modules/upload/upload.install b/modules/upload/upload.install index 395abfebf..62acef717 100644 --- a/modules/upload/upload.install +++ b/modules/upload/upload.install @@ -12,26 +12,6 @@ */ /** - * Implement hook_install(). - */ -function upload_install() { - // Create table. The upload table might have been created in the Drupal 5 - // to Drupal 6 upgrade, and was migrated from the file_revisions table. So - // in this case, there is no need to create the table, it is already there. - if (!db_table_exists('upload')) { - drupal_install_schema('upload'); - } -} - -/** - * Implement hook_uninstall(). - */ -function upload_uninstall() { - // Remove tables. - drupal_uninstall_schema('upload'); -} - -/** * Implement hook_schema(). */ function upload_schema() { |