]> source.dussan.org Git - nextcloud-server.git/commitdiff
Inherit lastInsertId() from Adapter.
authorAndreas Fischer <bantu@owncloud.com>
Mon, 4 Nov 2013 21:28:41 +0000 (22:28 +0100)
committerAndreas Fischer <bantu@owncloud.com>
Mon, 4 Nov 2013 21:28:41 +0000 (22:28 +0100)
lib/private/db/adaptersqlsrv.php

index 88fa2fc9f9efeff0eede4ba21fcedb0a6381f4be..a6bc0e21052f67f8cedf6d6692b964df57318101 100644 (file)
 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 );