]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - lib/subscriberspeopletagcloudsection.php
GC sessions one by one to make sure memcached gets cleared
[quix0rs-gnu-social.git] / lib / subscriberspeopletagcloudsection.php
index 23011efdd3d3c550d4b39857b9ed9de0677b2892..4dafbc1c7df0554dc5c80f5fbbde0939f8df649a 100644 (file)
@@ -53,8 +53,9 @@ class SubscribersPeopleTagCloudSection extends SubPeopleTagCloudSection
         return common_local_url('subscribers', array('nickname' => $nickname, 'tag' => $tag));
     }
 
-
     function query() {
-        return 'select tag, count(tag) as weight from subscription left join profile_tag on subscriber=tagged and subscribed=tagger where subscribed=%d and subscriber != subscribed group by tag order by weight desc';
+//        return 'select tag, count(tag) as weight from subscription left join profile_tag on subscriber=tagged and subscribed=tagger where subscribed=%d and subscriber != subscribed group by tag order by weight desc';
+        return 'select tag, count(tag) as weight from subscription left join profile_tag on subscriber=tagged and subscribed=tagger where subscribed=%d and subscriber != subscribed and tag is not null group by tag order by weight desc';
     }
 }
+