From 029c48c68d7f4f2bc94e93e3333908ca158433c5 Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Thu, 10 Sep 2009 06:38:20 +0000 Subject: - Patch #306151 by agentrickard, David_Rothstein, Dave Reid, dbabbage, moshe weitzman: automatically install/uninstall schema. --- modules/upload/upload.install | 20 -------------------- 1 file changed, 20 deletions(-) (limited to 'modules/upload/upload.install') 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 @@ -11,26 +11,6 @@ * This is the install file for the upload module. */ -/** - * 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(). */ -- cgit v1.2.3