fetchall appconfig entries (#23835)

pull/58/head^2
Jörn Friedrich Dreyer 10 years ago committed by Thomas Müller
parent 372213b052
commit c14198b874
  1. 4
      lib/private/AppConfig.php

@ -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…
Cancel
Save