From d95499bf03c65f59190687882567c80a074c711a Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Fri, 13 Jun 2003 17:34:18 +0000 Subject: - Bugfix: small Xtemplate fixes. Patch by Ax. (Slightly modified.) - Bugfix: block patch fix. Patch by Gerhard. - Bugfix: fixed broken URL in ping. Patch by Gerhard. (This should fix the problems shown on http://www.blo.gs/info.php?id=1515.) - Improvement: added better password generator. Patch #1 by Al. Fixes bug #1935. - Improvement: performance improvement to the blog module. Patch by Marco. --- modules/node/node.module | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'modules/node/node.module') diff --git a/modules/node/node.module b/modules/node/node.module index a737189ee..e17fde80e 100644 --- a/modules/node/node.module +++ b/modules/node/node.module @@ -47,14 +47,9 @@ function node_system($field){ ** Returns an HTML list suitable as content for a block. */ function node_title_list($result, $title = NULL) { - // no queries if site is in distress - if (module_exist("statistics") && throttle_status() > 3) { - return; - } - while ($node = db_fetch_object($result)) { $number = module_invoke("comment", "num_all", $node->nid); - $items[] = l($node->title, "node/view/$node->nid", array("title" => t("Comments: %number", array("%number" => $number)))); + $items[] = l($node->title, "node/view/$node->nid", array("title" => format_plural($number, "%count comment", "%count comments"))); } return theme("theme_node_list", $items, $title); -- cgit v1.2.3