limit fields to what we require

This commit is contained in:
friendica 2014-07-14 21:52:20 -07:00
parent c398d556b3
commit 01491e7d61

View File

@ -2133,7 +2133,7 @@ function build_sync_packet($uid = 0, $packet = null, $groups_changed = false) {
} }
if($groups_changed) { if($groups_changed) {
$r = q("select * from groups where uid = %d", $r = q("select hash as collection, visible, deleted, name from groups where uid = %d",
intval($uid) intval($uid)
); );
if($r) if($r)