1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-05-11 01:55:24 +02:00

[ticket/11696] Rename constructor to __construct()

PHPBB3-11696
This commit is contained in:
Joas Schilling 2013-07-14 10:12:49 -04:00
parent 5d4c443c2d
commit 131194d216

View File

@ -303,7 +303,7 @@ class phpbb_db_tools
* @param phpbb_db_driver $db Database connection * @param phpbb_db_driver $db Database connection
* @param bool $return_statements True if only statements should be returned and no SQL being executed * @param bool $return_statements True if only statements should be returned and no SQL being executed
*/ */
function phpbb_db_tools(phpbb_db_driver $db, $return_statements = false) public function __construct(phpbb_db_driver $db, $return_statements = false)
{ {
$this->db = $db; $this->db = $db;
$this->return_statements = $return_statements; $this->return_statements = $return_statements;