mirror of
https://github.com/friendica/friendica
synced 2025-04-25 05:10:11 +00:00
Some more forgotten DBA::close
This commit is contained in:
parent
9ccdbd9349
commit
f75009c20c
14 changed files with 24 additions and 3 deletions
|
@ -125,6 +125,7 @@ class Delegation extends BaseSettings
|
|||
while ($contact = DBA::fetch($contacts)) {
|
||||
$nicknames[] = $contact['nick'];
|
||||
}
|
||||
DBA::close($contacts);
|
||||
|
||||
// get user records for all potential page delegates who are not already delegates or managers
|
||||
$potentialDelegateUsers = DBA::selectToArray('user', ['uid', 'username', 'nickname'], ['nickname' => $nicknames]);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue