aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/functions_display.php
diff options
context:
space:
mode:
authorMeik Sievertsen <acydburn@phpbb.com>2006-11-18 10:05:58 +0000
committerMeik Sievertsen <acydburn@phpbb.com>2006-11-18 10:05:58 +0000
commit40f0a1ea153e4acd46b04b7f43a2ffb962b866eb (patch)
tree90995cb8c1de2d5516852dc862729864a4c1e78c /phpBB/includes/functions_display.php
parentc2191ae9cc08981b80a9341053898f68e6addcbe (diff)
downloadforums-40f0a1ea153e4acd46b04b7f43a2ffb962b866eb.tar
forums-40f0a1ea153e4acd46b04b7f43a2ffb962b866eb.tar.gz
forums-40f0a1ea153e4acd46b04b7f43a2ffb962b866eb.tar.bz2
forums-40f0a1ea153e4acd46b04b7f43a2ffb962b866eb.tar.xz
forums-40f0a1ea153e4acd46b04b7f43a2ffb962b866eb.zip
- do not cache the activity queries, this is only a lot of overhead (haven't noticed the forums also get included)
- back to our known poster name display on viewtopic/topic review. :) git-svn-id: file:///svn/phpbb/trunk@6599 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/includes/functions_display.php')
-rw-r--r--phpBB/includes/functions_display.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/phpBB/includes/functions_display.php b/phpBB/includes/functions_display.php
index 5521829dda..056af5c84a 100644
--- a/phpBB/includes/functions_display.php
+++ b/phpBB/includes/functions_display.php
@@ -1047,7 +1047,7 @@ function display_user_activity(&$userdata)
$forum_sql
GROUP BY forum_id
ORDER BY num_posts DESC";
- $result = $db->sql_query_limit($sql, 1, 0, 3600);
+ $result = $db->sql_query_limit($sql, 1);
$active_f_row = $db->sql_fetchrow($result);
$db->sql_freeresult($result);
@@ -1069,7 +1069,7 @@ function display_user_activity(&$userdata)
$forum_sql
GROUP BY topic_id
ORDER BY num_posts DESC";
- $result = $db->sql_query_limit($sql, 1, 0, 3600);
+ $result = $db->sql_query_limit($sql, 1);
$active_t_row = $db->sql_fetchrow($result);
$db->sql_freeresult($result);