In D7 there is no need to have the function drupal_install_schema in the hook_install.

This patch removes the function so the DB tables are not added twice

CommentFileSizeAuthor
schema_install.patch426 bytesNick_vh
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

salvis’s picture

Status: Active » Fixed

Committed, thanks!

According to http://drupal.org/update/modules/6/7#install-schema, the drupal_uninstall_schema() call needs to be removed as well.

Actually, I've just removed hook_install() and hook_uninstall(), since they didn't do anything else.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.