Skip to content
Snippets Groups Projects
Commit 8274d9f9 authored by Andreas Fischer's avatar Andreas Fischer
Browse files

Inherit lastInsertId() from Adapter.

parent 665b7571
No related branches found
No related tags found
No related merge requests found
......@@ -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 );
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment