Skip to content

Commit 5ac6e5c

Browse files
Merge pull request #314 from nextcloud/fix/issue-171-sqlite
fix: failure when using sqlite3
2 parents ba4dac1 + 7ba11ca commit 5ac6e5c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/Categories/Database.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ protected function databaseSize() {
119119
$database_size = filesize($this->config->getSystemValue('dbhost'));
120120
} else {
121121
/** @psalm-suppress UndefinedInterfaceMethod */
122-
$params = $this->connection->getParams();
122+
$params = $this->connection->getInner()->getParams();
123123
if (file_exists($params['path'])) {
124124
$database_size = filesize($params['path']);
125125
}

0 commit comments

Comments
 (0)