diff --git a/src/Hooks.php b/src/Hooks.php index 1c8d6b7..93325c4 100644 --- a/src/Hooks.php +++ b/src/Hooks.php @@ -38,10 +38,8 @@ public static function getParameter( $name ) { $config = \MediaWiki\MediaWikiServices::getInstance()->getMainConfig(); if ( $config->has( "Piwik$name" ) ) { return $config->get( "Piwik$name" ); - } elseif ( $config->has( "Matomo$name" ) ) { - return $config->get( "Matomo$name" ); } - return null; + return $config->get( "Matomo$name" ); } /**