From 0f3085c3b7485b409f4176f5b549e2e4a937f5fa Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Wed, 3 Mar 2010 07:38:08 +0000 Subject: - Patch #210876 by deekayen, c960657: add logging of who installs/uninstalls a module. --- includes/module.inc | 1 + 1 file changed, 1 insertion(+) (limited to 'includes') diff --git a/includes/module.inc b/includes/module.inc index 0450e6b5b..3d9108c89 100644 --- a/includes/module.inc +++ b/includes/module.inc @@ -379,6 +379,7 @@ function module_enable($module_list, $enable_dependencies = TRUE) { drupal_set_installed_schema_version($module, $versions ? max($versions) : SCHEMA_INSTALLED); // Record the fact that it was installed. $modules_installed[] = $module; + watchdog('system', '%module module installed.', array('%module' => $module), WATCHDOG_INFO); } // Enable the module. -- cgit v1.2.3