code booboo may have degraded the performance of the Trending tag query more than necessary
This commit is contained in:
parent
92b08f1f07
commit
2254262cf0
@ -312,7 +312,8 @@ function article_tagadelic($uid, $count = 0, $authors = '', $owner = '', $flags
|
|||||||
function pubtagblock($net,$site,$limit,$recent = 0,$safemode = 1, $type = TERM_HASHTAG) {
|
function pubtagblock($net,$site,$limit,$recent = 0,$safemode = 1, $type = TERM_HASHTAG) {
|
||||||
$o = '';
|
$o = '';
|
||||||
|
|
||||||
$r = pub_tagadelic($net,$site,$limit,$since,$safemode,$type);
|
$r = pub_tagadelic($net,$site,$limit,$recent,$safemode,$type);
|
||||||
|
|
||||||
$link = z_root() . '/pubstream';
|
$link = z_root() . '/pubstream';
|
||||||
|
|
||||||
if($r) {
|
if($r) {
|
||||||
|
Reference in New Issue
Block a user