mirror of
https://github.com/nextcloud/server.git
synced 2026-03-26 12:25:16 -04:00
Inherit lastInsertId() from Adapter.
This commit is contained in:
parent
665b7571f4
commit
8274d9f91c
1 changed files with 0 additions and 5 deletions
|
|
@ -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 );
|
||||
|
|
|
|||
Loading…
Reference in a new issue