summaryrefslogtreecommitdiffstats
path: root/lib/private/db/adaptersqlsrv.php
diff options
context:
space:
mode:
authorAndreas Fischer <bantu@owncloud.com>2013-11-04 22:28:41 +0100
committerAndreas Fischer <bantu@owncloud.com>2013-11-04 22:28:41 +0100
commit8274d9f91c4fbe98ad06ec7f44cd73cd7417ab03 (patch)
treeb4afeef3e4314ee04b2c677ee7d81e1591cfa50b /lib/private/db/adaptersqlsrv.php
parent665b7571f42d840eda53b29c2c58876d9afa76e3 (diff)
downloadnextcloud-server-8274d9f91c4fbe98ad06ec7f44cd73cd7417ab03.tar.gz
nextcloud-server-8274d9f91c4fbe98ad06ec7f44cd73cd7417ab03.zip
Inherit lastInsertId() from Adapter.
Diffstat (limited to 'lib/private/db/adaptersqlsrv.php')
-rw-r--r--lib/private/db/adaptersqlsrv.php5
1 files changed, 0 insertions, 5 deletions
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 );