From 76151a8bc900ebb38c76170283a05df791311f76 Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Wed, 16 Apr 2008 11:35:52 +0000 Subject: - Patch #245504 by catch, David_Rothstein, Freso, et al: removed the throttle module from Drupal core. --- modules/statistics/statistics.module | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules/statistics/statistics.module') 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()); } -- cgit v1.2.3