mirror of
https://github.com/friendica/friendica
synced 2025-05-06 10:24:10 +02:00
Some more forgotten DBA::close
This commit is contained in:
parent
9ccdbd9349
commit
f75009c20c
14 changed files with 24 additions and 3 deletions
|
@ -2057,6 +2057,7 @@ class Contact
|
|||
|
||||
Worker::add(PRIORITY_HIGH, 'MergeContact', $first, $duplicate['id'], $uid);
|
||||
}
|
||||
DBA::close($duplicates);
|
||||
Logger::info('Duplicates handled', ['uid' => $uid, 'nurl' => $nurl]);
|
||||
return true;
|
||||
}
|
||||
|
@ -2732,6 +2733,7 @@ class Contact
|
|||
);
|
||||
}
|
||||
}
|
||||
DBA::close($contacts);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
@ -113,6 +113,7 @@ class GContact
|
|||
|
||||
$gcontacts[] = Contact::getDetailsByURL($result['nurl'], local_user());
|
||||
}
|
||||
DBA::close($results);
|
||||
return $gcontacts;
|
||||
}
|
||||
|
||||
|
@ -563,6 +564,7 @@ class GContact
|
|||
PortableContact::loadWorker(0, 0, 0, $base);
|
||||
}
|
||||
}
|
||||
DBA::close($contacts);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
@ -85,7 +85,7 @@ class Process
|
|||
self::deleteByPid($process['pid']);
|
||||
}
|
||||
}
|
||||
|
||||
DBA::close($processes);
|
||||
DBA::commit();
|
||||
}
|
||||
}
|
||||
|
|
|
@ -44,7 +44,7 @@ class Search
|
|||
while ($term = DBA::fetch($termsStmt)) {
|
||||
$tags[] = trim($term['term'], '#');
|
||||
}
|
||||
|
||||
DBA::close($termsStmt);
|
||||
return $tags;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -214,6 +214,7 @@ class UserItem
|
|||
return true;
|
||||
}
|
||||
}
|
||||
DBA::close($tags);
|
||||
|
||||
return false;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue