1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-07-31 05:50:42 +02:00

[ticket/8071] Make nextid alias of sql_last_inserted_id and add deprecation

PHPBB3-8071
This commit is contained in:
Marc Alexander
2023-01-31 17:17:42 +01:00
parent 9fb98201f2
commit b5c316c9c3
9 changed files with 23 additions and 66 deletions

View File

@@ -342,9 +342,9 @@ class postgres extends \phpbb\db\driver\driver
}
/**
* {@inheritDoc}
* {@inheritdoc}
*/
function sql_nextid()
public function sql_last_inserted_id()
{
$query_id = $this->query_result;
@@ -370,14 +370,6 @@ class postgres extends \phpbb\db\driver\driver
return false;
}
/**
* {@inheritdoc}
*/
public function sql_last_inserted_id()
{
return $this->sql_nextid();
}
/**
* {@inheritDoc}
*/