mirror of
https://github.com/nextcloud/server.git
synced 2024-09-01 05:57:11 +02:00
fetchall appconfig entries (#23835)
This commit is contained in:
parent
372213b052
commit
c14198b874
@ -273,7 +273,9 @@ class AppConfig implements IAppConfig {
|
||||
->from('appconfig');
|
||||
$result = $sql->execute();
|
||||
|
||||
while ($row = $result->fetch()) {
|
||||
// we are going to store the result in memory anyway
|
||||
$rows = $result->fetchAll();
|
||||
foreach ($rows as $row) {
|
||||
if (!isset($this->cache[$row['appid']])) {
|
||||
$this->cache[$row['appid']] = [];
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user