From b67cce5a8fee268b1ea1b1b4a5691ae56e2769da Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Thu, 9 Feb 2006 08:13:08 +0000 Subject: - Patch #46422 by Neil: module installation hook. --- modules/system/system.module | 1 + 1 file changed, 1 insertion(+) (limited to 'modules/system/system.module') diff --git a/modules/system/system.module b/modules/system/system.module index 5001001ca..e90d59a1d 100644 --- a/modules/system/system.module +++ b/modules/system/system.module @@ -1016,6 +1016,7 @@ function system_modules_submit($form_id, $edit) { $versions = drupal_get_schema_versions($module); if (drupal_get_installed_schema_version($module) == SCHEMA_UNINSTALLED) { drupal_set_installed_schema_version($module, $versions ? max($versions) : SCHEMA_INSTALLED); + module_invoke($module, 'install'); } } -- cgit v1.2.3