mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-30 11:40:08 +02:00
[ticket/8071] Make nextid alias of sql_last_inserted_id and add deprecation
PHPBB3-8071
This commit is contained in:
@@ -318,7 +318,7 @@ class factory implements driver_interface
|
||||
*/
|
||||
public function sql_nextid()
|
||||
{
|
||||
return $this->get_driver()->sql_nextid();
|
||||
return $this->get_driver()->sql_last_inserted_id();
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -326,7 +326,7 @@ class factory implements driver_interface
|
||||
*/
|
||||
public function sql_last_inserted_id()
|
||||
{
|
||||
return $this->get_driver()->sql_nextid();
|
||||
return $this->get_driver()->sql_last_inserted_id();
|
||||
}
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user