diff options
author | Dries Buytaert <dries@buytaert.net> | 2008-04-16 11:35:52 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2008-04-16 11:35:52 +0000 |
commit | 76151a8bc900ebb38c76170283a05df791311f76 (patch) | |
tree | df9d3103010eb9452a55e2a0e901faf30d5e58bc /modules/statistics/statistics.module | |
parent | 46546ef478615dc1ac371c12cf392cabc1901cba (diff) | |
download | brdo-76151a8bc900ebb38c76170283a05df791311f76.tar.gz brdo-76151a8bc900ebb38c76170283a05df791311f76.tar.bz2 |
- Patch #245504 by catch, David_Rothstein, Freso, et al: removed the throttle module from Drupal core.
Diffstat (limited to 'modules/statistics/statistics.module')
-rw-r--r-- | modules/statistics/statistics.module | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/statistics/statistics.module b/modules/statistics/statistics.module index 3f43406b3..fcf990765 100644 --- a/modules/statistics/statistics.module +++ b/modules/statistics/statistics.module @@ -59,7 +59,7 @@ function statistics_exit() { } } } - if ((variable_get('statistics_enable_access_log', 0)) && (module_invoke('throttle', 'status') == 0)) { + if (variable_get('statistics_enable_access_log', 0)) { // Log this page access. db_query("INSERT INTO {accesslog} (title, path, url, hostname, uid, sid, timer, timestamp) values('%s', '%s', '%s', '%s', %d, '%s', %d, %d)", strip_tags(drupal_get_title()), $_GET['q'], referer_uri(), ip_address(), $user->uid, session_id(), timer_read('page'), time()); } |