Skip to content
This repository has been archived by the owner on Jul 10, 2023. It is now read-only.

Commit

Permalink
Fix method name after nextcloud/server#26877
Browse files Browse the repository at this point in the history
Signed-off-by: Joas Schilling <[email protected]>
  • Loading branch information
nickvergessen committed May 8, 2021
1 parent 89d4608 commit 1e4e1b3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/Model/EditorMapper.php
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,6 @@ public function deleteByLineId(int $lineId): void {
$query = $this->db->getQueryBuilder();
$query->delete($this->getTableName())
->where($query->expr()->eq('line_id', $query->createNamedParameter($lineId), IQueryBuilder::PARAM_INT));
$query->executeUpdate();
$query->executeStatement();
}
}
2 changes: 1 addition & 1 deletion lib/Model/PointMapper.php
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,6 @@ public function deleteByLineId(int $lineId): void {
$query = $this->db->getQueryBuilder();
$query->delete($this->getTableName())
->where($query->expr()->eq('line_id', $query->createNamedParameter($lineId), IQueryBuilder::PARAM_INT));
$query->executeUpdate();
$query->executeStatement();
}
}

0 comments on commit 1e4e1b3

Please sign in to comment.