mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-31 14:00:31 +02:00
[ticket/10714] Add return null to phpbb_log and add param to constructor
PHPBB3-10714
This commit is contained in:
@@ -34,6 +34,8 @@ class phpbb_log implements phpbb_log_interface
|
||||
|
||||
/**
|
||||
* Constructor
|
||||
*
|
||||
* @param string $log_table The table we use to store our logs
|
||||
*/
|
||||
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.
|
||||
*
|
||||
* @return null
|
||||
*/
|
||||
public function disable()
|
||||
{
|
||||
@@ -61,6 +65,8 @@ class phpbb_log implements phpbb_log_interface
|
||||
|
||||
/**
|
||||
* This function allows re-enable the log-system.
|
||||
*
|
||||
* @return null
|
||||
*/
|
||||
public function enable()
|
||||
{
|
||||
|
Reference in New Issue
Block a user