Conditions | 1 |
Paths | 1 |
Total Lines | 8 |
Code Lines | 6 |
Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 1 |
1 | <?php |
||
42 | public function findAll($accountId, $currentUserId) { |
||
43 | $sql = 'select *PREFIX*mail_aliases.* from *PREFIX*mail_aliases join *PREFIX*mail_accounts on oc_mail_aliases.account_id = oc_mail_accounts.id where *PREFIX*mail_accounts.user_id = ? AND *PREFIX*mail_aliases.account_id=?'; |
||
44 | $params = [ |
||
45 | $currentUserId, |
||
46 | $accountId |
||
47 | ]; |
||
48 | return $this->findEntities($sql, $params); |
||
49 | } |
||
50 | } |
||
51 |