diff options
author | Andreas Fischer <bantu@owncloud.com> | 2013-11-04 22:28:41 +0100 |
---|---|---|
committer | Andreas Fischer <bantu@owncloud.com> | 2013-11-04 22:28:41 +0100 |
commit | 8274d9f91c4fbe98ad06ec7f44cd73cd7417ab03 (patch) | |
tree | b4afeef3e4314ee04b2c677ee7d81e1591cfa50b /lib/private/db/adaptersqlsrv.php | |
parent | 665b7571f42d840eda53b29c2c58876d9afa76e3 (diff) | |
download | nextcloud-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.php | 5 |
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 ); |