1
0
Fork 0

Added documentation

This commit is contained in:
Michael Vogel 2016-10-25 05:44:57 +00:00
commit 80efc422bf
4 changed files with 22 additions and 2 deletions

View file

@ -1115,7 +1115,7 @@ function suggestion_query($uid, $start = 0, $limit = 80) {
intval($limit)
);
if(count($r) && count($r) >= ($limit -1)) {
if (count($r) && count($r) >= ($limit -1)) {
Cache::set("suggestion_query:".$uid.":".$start.":".$limit, $r, CACHE_FIVE_MINUTES);
return $r;
}