aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoas Schilling <coding@schilljs.com>2024-04-30 15:13:12 +0200
committerJoas Schilling <coding@schilljs.com>2024-04-30 15:13:12 +0200
commit90ba7db0fb951a0835a52d4f84cb7c016b3f1ffb (patch)
treec2c02ce68232e2affa336083caa535ea259dc1bf
parentf02ca82825999b05284aebbd87ca851a7e49ee28 (diff)
downloadnextcloud-server-90ba7db0fb951a0835a52d4f84cb7c016b3f1ffb.tar.gz
nextcloud-server-90ba7db0fb951a0835a52d4f84cb7c016b3f1ffb.zip
fix(querybuilder): Remove temporary internal method executeUpdate()
Signed-off-by: Joas Schilling <coding@schilljs.com>
-rw-r--r--lib/private/DB/QueryBuilder/QueryBuilder.php15
1 files changed, 0 insertions, 15 deletions
diff --git a/lib/private/DB/QueryBuilder/QueryBuilder.php b/lib/private/DB/QueryBuilder/QueryBuilder.php
index d78cf50e319..3fc56dd580d 100644
--- a/lib/private/DB/QueryBuilder/QueryBuilder.php
+++ b/lib/private/DB/QueryBuilder/QueryBuilder.php
@@ -302,21 +302,6 @@ class QueryBuilder implements IQueryBuilder {
throw new \RuntimeException('Invalid return type for query');
}
- /**
- * Monkey-patched compatibility layer for apps that were adapted for Nextcloud 22 before
- * the first beta, where executeStatement was named executeUpdate.
- *
- * Static analysis should catch those misuses, but until then let's try to keep things
- * running.
- *
- * @internal
- * @deprecated
- * @todo drop ASAP
- */
- public function executeUpdate(): int {
- return $this->executeStatement();
- }
-
public function executeStatement(): int {
if ($this->getType() === \Doctrine\DBAL\Query\QueryBuilder::SELECT) {
throw new \RuntimeException('Invalid query type, expected INSERT, DELETE or UPDATE statement');