From 8274d9f91c4fbe98ad06ec7f44cd73cd7417ab03 Mon Sep 17 00:00:00 2001
From: Andreas Fischer <bantu@owncloud.com>
Date: Mon, 4 Nov 2013 22:28:41 +0100
Subject: [PATCH] Inherit lastInsertId() from Adapter.

---
 lib/private/db/adaptersqlsrv.php | 5 -----
 1 file changed, 5 deletions(-)

diff --git a/lib/private/db/adaptersqlsrv.php b/lib/private/db/adaptersqlsrv.php
index 88fa2fc9f9..a6bc0e2105 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 );
-- 
GitLab