aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/functions.php
diff options
context:
space:
mode:
Diffstat (limited to 'phpBB/includes/functions.php')
-rw-r--r--phpBB/includes/functions.php6
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