Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
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
Comment | File | Size | Author |
---|---|---|---|
schema_install.patch | 426 bytes | Nick_vh | |
Comments
Comment #1
salvisCommitted, 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.