summaryrefslogtreecommitdiff
path: root/includes/module.inc
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2010-03-03 07:38:08 +0000
committerDries Buytaert <dries@buytaert.net>2010-03-03 07:38:08 +0000
commit0f3085c3b7485b409f4176f5b549e2e4a937f5fa (patch)
treeda802844ed7f17bbba3ccf26edb7960fdf13e1da /includes/module.inc
parentba93c4911c7b506c9f94ceac2fe404b6e96a9574 (diff)
downloadbrdo-0f3085c3b7485b409f4176f5b549e2e4a937f5fa.tar.gz
brdo-0f3085c3b7485b409f4176f5b549e2e4a937f5fa.tar.bz2
- Patch #210876 by deekayen, c960657: add logging of who installs/uninstalls a module.
Diffstat (limited to 'includes/module.inc')
-rw-r--r--includes/module.inc1
1 files changed, 1 insertions, 0 deletions
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.