From 6e334892f2df1f744bdc305570b82f79b2a6cfd2 Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Fri, 24 Apr 2009 08:23:02 +0000 Subject: - Patch #440768 by Dave Reid: move {node_counter} table from node module to statistics module. --- modules/node/node.module | 2 -- 1 file changed, 2 deletions(-) (limited to 'modules/node/node.module') diff --git a/modules/node/node.module b/modules/node/node.module index df85fbeaf..a207f44d3 100644 --- a/modules/node/node.module +++ b/modules/node/node.module @@ -2086,8 +2086,6 @@ function node_page_view($node) { function node_update_index() { $limit = (int)variable_get('search_cron_limit', 100); - variable_set('node_cron_views_scale', 1.0 / max(1, db_result(db_query('SELECT MAX(totalcount) FROM {node_counter}')))); - $result = db_query_range("SELECT n.nid FROM {node} n LEFT JOIN {search_dataset} d ON d.type = 'node' AND d.sid = n.nid WHERE d.sid IS NULL OR d.reindex <> 0 ORDER BY d.reindex ASC, n.nid ASC", 0, $limit); while ($node = db_fetch_object($result)) { -- cgit v1.2.3