1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-06-10 08:25:42 +02:00

[ticket/10714] Add return null to phpbb_log and add param to constructor

PHPBB3-10714
This commit is contained in:
Joas Schilling 2012-03-18 13:54:33 +01:00
parent cff15ec307
commit b9b08cf765

View File

@ -34,6 +34,8 @@ class phpbb_log implements phpbb_log_interface
/** /**
* Constructor * Constructor
*
* @param string $log_table The table we use to store our logs
*/ */
public function __construct($log_table) public function __construct($log_table)
{ {
@ -53,6 +55,8 @@ class phpbb_log implements phpbb_log_interface
/** /**
* This function allows disable the log-system. When add_log is called, the log will not be added to the database. * This function allows disable the log-system. When add_log is called, the log will not be added to the database.
*
* @return null
*/ */
public function disable() public function disable()
{ {
@ -61,6 +65,8 @@ class phpbb_log implements phpbb_log_interface
/** /**
* This function allows re-enable the log-system. * This function allows re-enable the log-system.
*
* @return null
*/ */
public function enable() public function enable()
{ {