mirror of
https://github.com/nextcloud/server.git
synced 2026-05-28 04:32:30 -04:00
fix(db): Doctrine\DBAL\Connection::executeUpdate() is deprecated
Signed-off-by: Joas Schilling <coding@schilljs.com>
This commit is contained in:
parent
11e84b8968
commit
c84580d53a
1 changed files with 1 additions and 4 deletions
|
|
@ -318,10 +318,7 @@ class Connection extends PrimaryReadReplicaConnection {
|
|||
* @throws Exception
|
||||
*/
|
||||
public function executeUpdate(string $sql, array $params = [], array $types = []): int {
|
||||
$sql = $this->finishQuery($sql);
|
||||
$this->queriesExecuted++;
|
||||
$this->logQueryToFile($sql);
|
||||
return parent::executeUpdate($sql, $params, $types);
|
||||
return $this->executeStatement($sql, $params, $types);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Reference in a new issue