aboutsummaryrefslogtreecommitdiffstats
path: root/includes/Pingback.php
diff options
context:
space:
mode:
Diffstat (limited to 'includes/Pingback.php')
-rw-r--r--includes/Pingback.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/includes/Pingback.php b/includes/Pingback.php
index 7df719431a0b..c63522a6acb5 100644
--- a/includes/Pingback.php
+++ b/includes/Pingback.php
@@ -57,7 +57,7 @@ class Pingback {
public function __construct( Config $config = null, LoggerInterface $logger = null ) {
$this->config = $config ?: RequestContext::getMain()->getConfig();
$this->logger = $logger ?: LoggerFactory::getInstance( __CLASS__ );
- $this->key = 'Pingback-' . $this->config->get( 'Version' );
+ $this->key = 'Pingback-' . MW_VERSION;
}
/**
@@ -144,7 +144,7 @@ class Pingback {
public function getSystemInfo() {
$event = [
'database' => $this->config->get( 'DBtype' ),
- 'MediaWiki' => $this->config->get( 'Version' ),
+ 'MediaWiki' => MW_VERSION,
'PHP' => PHP_VERSION,
'OS' => PHP_OS . ' ' . php_uname( 'r' ),
'arch' => PHP_INT_SIZE === 8 ? 64 : 32,