1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-07-30 21:40:43 +02:00

[ticket/13162] Use db tools for truncating

PHPBB3-13162
This commit is contained in:
Marc Alexander
2023-12-17 19:49:23 +01:00
parent c31ac7348a
commit 59f387e828
21 changed files with 103 additions and 118 deletions

View File

@@ -364,12 +364,9 @@ class doctrine implements tools_interface
}
/**
* Truncate the table
*
* @param string $table_name
* @return void
* {@inheritDoc}
*/
public function sql_truncate_table(string $table_name)
public function sql_truncate_table(string $table_name): void
{
try
{