diff options
author | Joas Schilling <nickvergessen@gmx.de> | 2012-12-07 15:11:56 +0100 |
---|---|---|
committer | Joas Schilling <nickvergessen@gmx.de> | 2012-12-07 15:11:56 +0100 |
commit | 70d23380aa55c2aab33c1c2e5cea57f186314584 (patch) | |
tree | cab03943250445edab9d4b5a69811c88031e07ee /phpBB/includes/functions.php | |
parent | 5213ee1829c0ca4689d6137ac011cc759a727c59 (diff) | |
download | forums-70d23380aa55c2aab33c1c2e5cea57f186314584.tar forums-70d23380aa55c2aab33c1c2e5cea57f186314584.tar.gz forums-70d23380aa55c2aab33c1c2e5cea57f186314584.tar.bz2 forums-70d23380aa55c2aab33c1c2e5cea57f186314584.tar.xz forums-70d23380aa55c2aab33c1c2e5cea57f186314584.zip |
[ticket/10714] Rely on global instead of creating an instance
PHPBB3-10714
Diffstat (limited to 'phpBB/includes/functions.php')
-rw-r--r-- | phpBB/includes/functions.php | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/phpBB/includes/functions.php b/phpBB/includes/functions.php index 93dfb4cd7f..7c1a48f913 100644 --- a/phpBB/includes/functions.php +++ b/phpBB/includes/functions.php @@ -3367,12 +3367,6 @@ function add_log() return false; } - // no log class set, create a temporary one ourselves to keep backwards compatibility - if ($phpbb_log === null) - { - $phpbb_log = new phpbb_log(LOG_TABLE); - } - $mode = array_shift($args); // This looks kind of dirty, but add_log has some additional data before the log_operation |