Skip to content

Commit

Permalink
Merge pull request #314 from nextcloud/fix/issue-171-sqlite
Browse files Browse the repository at this point in the history
fix: failure when using sqlite3
  • Loading branch information
joshtrichards authored Sep 25, 2024
2 parents ba4dac1 + 7ba11ca commit 5ac6e5c
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 5ac6e5c

Please sign in to comment.