From: Andreas Fischer Date: Mon, 4 Nov 2013 21:28:41 +0000 (+0100) Subject: Inherit lastInsertId() from Adapter. X-Git-Tag: v6.0.0beta3~12^2 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=8274d9f91c4fbe98ad06ec7f44cd73cd7417ab03;p=nextcloud-server.git Inherit lastInsertId() from Adapter. --- diff --git a/lib/private/db/adaptersqlsrv.php b/lib/private/db/adaptersqlsrv.php index 88fa2fc9f9e..a6bc0e21052 100644 --- a/lib/private/db/adaptersqlsrv.php +++ b/lib/private/db/adaptersqlsrv.php @@ -10,11 +10,6 @@ namespace OC\DB; class AdapterSQLSrv extends Adapter { - public function lastInsertId($table) { - - return $this->conn->realLastInsertId($table); - } - public function fixupStatement($statement) { $statement = preg_replace( "/\`(.*?)`/", "[$1]", $statement ); $statement = str_ireplace( 'NOW()', 'CURRENT_TIMESTAMP', $statement );