From: Matthew Flaschen Date: Fri, 13 Feb 2015 03:53:50 +0000 (-0500) Subject: Define the context field in LogFormatter X-Git-Tag: 1.31.0-rc.0~12423^2 X-Git-Url: http://git.cyclocoop.org/%22.%24h.%22?a=commitdiff_plain;h=bb704ad136bd4bd4c2cfbdee7e46e06c879b8007;p=lhc%2Fweb%2Fwiklou.git Define the context field in LogFormatter Public for backwards-compatibility. Change-Id: I6d66d14b58def1fe6674b47d1e4d3ff53034bf2c --- diff --git a/includes/logging/LogFormatter.php b/includes/logging/LogFormatter.php index c6fcdb0d4a..4487fec6e4 100644 --- a/includes/logging/LogFormatter.php +++ b/includes/logging/LogFormatter.php @@ -80,6 +80,9 @@ class LogFormatter { /** @var int Constant for handling log_deleted */ protected $audience = self::FOR_PUBLIC; + /** @var IContextSource Context for logging */ + public $context; + /** @var bool Whether to output user tool links */ protected $linkFlood = false;