]> git.mxchange.org Git - friendica.git/blobdiff - include/api.php
Even more SQL improvements.
[friendica.git] / include / api.php
index 0a63a2c04904d80b9008c5679083cf14bd658318..80f448c2686c8b2a4ffb7504a0ed087e62eea302 100644 (file)
 
                        //AND `allow_cid`='' AND `allow_gid`='' AND `deny_cid`='' AND `deny_gid`=''",
                        // count public wall messages
-                       $r = q("SELECT count(*) as `count` FROM `item` force index (uid_type)
+                       $r = q("SELECT count(*) as `count` FROM `item`
                                        WHERE  `uid` = %d
                                        AND `type`='wall'",
                                        intval($uinfo[0]['uid'])