XW-1300 | use global properly

This commit is contained in:
Igor Rogatty 2016-04-04 17:09:08 +02:00
parent 17a045e1aa
commit 3bc774edaa

View file

@ -132,6 +132,8 @@ class PortableInfoboxRenderServiceHelper {
* @return bool
*/
public function isMercury() {
global $wgArticleAsJson;
return !empty( $wgArticleAsJson );
}