Skip to content

Commit

Permalink
Merge pull request #320 from nextcloud/backport/314/stable30
Browse files Browse the repository at this point in the history
[stable30] fix: failure when using sqlite3
  • Loading branch information
joshtrichards authored Sep 25, 2024
2 parents ef01956 + 02fd4c7 commit d0d06a4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Categories/Database.php
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ protected function databaseSize() {
$database_size = filesize($this->config->getSystemValue('dbhost'));
} else {
/** @psalm-suppress UndefinedInterfaceMethod */
$params = $this->connection->getParams();
$params = $this->connection->getInner()->getParams();
if (file_exists($params['path'])) {
$database_size = filesize($params['path']);
}
Expand Down

0 comments on commit d0d06a4

Please sign in to comment.