File tree Expand file tree Collapse file tree
lib/private/DB/QueryBuilder Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -302,21 +302,6 @@ public function executeQuery(): IResult {
302302 throw new \RuntimeException ('Invalid return type for query ' );
303303 }
304304
305- /**
306- * Monkey-patched compatibility layer for apps that were adapted for Nextcloud 22 before
307- * the first beta, where executeStatement was named executeUpdate.
308- *
309- * Static analysis should catch those misuses, but until then let's try to keep things
310- * running.
311- *
312- * @internal
313- * @deprecated
314- * @todo drop ASAP
315- */
316- public function executeUpdate (): int {
317- return $ this ->executeStatement ();
318- }
319-
320305 public function executeStatement (): int {
321306 if ($ this ->getType () === \Doctrine \DBAL \Query \QueryBuilder::SELECT ) {
322307 throw new \RuntimeException ('Invalid query type, expected INSERT, DELETE or UPDATE statement ' );
You can’t perform that action at this time.
0 commit comments