}
try {
- return User_group::listFind('id', $ids);
+ return User_group::multiGet('id', $ids);
} catch (NoResultException $e) {
return null; // throw exception when we handle it everywhere
}
{
$subs = Subscription::getSubscribedIDs($this->id, $offset, $limit);
try {
- $profiles = Profile::listFind('id', $subs);
+ $profiles = Profile::multiGet('id', $subs);
} catch (NoResultException $e) {
return $e->obj;
}
{
$subs = Subscription::getSubscriberIDs($this->id, $offset, $limit);
try {
- $profiles = Profile::listFind('id', $subs);
+ $profiles = Profile::multiGet('id', $subs);
} catch (NoResultException $e) {
return $e->obj;
}