mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-31 22:10:45 +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
|
* 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()
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user