From ccbbddbc9577bde85bfa4d265cda4716a52ce8d0 Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Sun, 18 Nov 2001 22:47:23 +0000 Subject: - Removed the limit on the blog searches (patch by Natrak). For now it fixes some annoying issueus but this will need more work in future as it doesn't really scale too well. --- modules/blog/blog.module | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules/blog') diff --git a/modules/blog/blog.module b/modules/blog/blog.module index 3d94152bc..408a35d87 100644 --- a/modules/blog/blog.module +++ b/modules/blog/blog.module @@ -144,7 +144,7 @@ function blog_page_user($uid = 0, $date = 0) { $date = time(); } - $result = db_query("SELECT nid FROM node WHERE type = 'blog' AND uid = '$account->uid' AND created <= '$date' AND created >= '". ($date - 2592000) ."' ORDER BY nid DESC"); + $result = db_query("SELECT nid FROM node WHERE type = 'blog' AND uid = '$account->uid' AND created <= '$date' ORDER BY nid DESC"); $output .= ""; -- cgit v1.2.3