mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 06:08:52 +00:00
[ticket/10714] Add return null to phpbb_log and add param to constructor
PHPBB3-10714
This commit is contained in:
parent
cff15ec307
commit
b9b08cf765
1 changed files with 6 additions and 0 deletions
|
@ -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()
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Reference in a new issue