]> git.mxchange.org Git - friendica.git/blobdiff - src/Module/Settings/Delegation.php
Further unused tables to be dropped
[friendica.git] / src / Module / Settings / Delegation.php
index e70dee8908fab898b96137cb175163a1fc800a0e..745879ec5e1106d7bbef801aa985fda32ae06734 100644 (file)
@@ -1,6 +1,6 @@
 <?php
 /**
- * @copyright Copyright (C) 2020, Friendica
+ * @copyright Copyright (C) 2010-2021, the Friendica project
  *
  * @license GNU AGPL version 3 or any later version
  *
@@ -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]);