Attack
Forum Üyesi
- Katılım
- 4 Şub 2023
- Mesajlar
- 2,618
- Puanları
- 0
I am attempting to call the getIpsByUser method located in XF/Repository/Ip. If it makes any difference, I'm calling it from a method in an item in XF/ApprovalQueue. I have tried calling it with both a user_id as well as a user entity object.
Code:
$content = $unapprovedItem->Content;$userId = $content->user_id;$user = \XF::em()->find('XF:User', $userId);$ipRepo = $app->repository('XF:Ip');$ips = $ipRepo->getIpsByUser($user);
I want a list of IP addresses the...
Code:
$content = $unapprovedItem->Content;$userId = $content->user_id;$user = \XF::em()->find('XF:User', $userId);$ipRepo = $app->repository('XF:Ip');$ips = $ipRepo->getIpsByUser($user);
I want a list of IP addresses the...
Misafirler için gizlenen link, görmek için
Giriş yap veya üye ol.