1
0
mirror of https://github.com/Hutchy68/pivot.git synced 2025-12-19 07:17:03 +01:00

Replace usge of long deprecated and removed wfSuppressWarnings

This commit is contained in:
paladox
2019-12-23 00:00:43 +00:00
committed by GitHub
parent f586bf4c5c
commit 0b6882ad2f

View File

@@ -60,7 +60,7 @@ class pivotTemplate extends BaseTemplate {
public function execute() { public function execute() {
global $wgUser; global $wgUser;
global $wgPivotFeatures; global $wgPivotFeatures;
wfSuppressWarnings(); Wikimedia\AtEase\AtEase::suppressWarnings();
$this->html('headelement'); $this->html('headelement');
switch ($wgPivotFeatures['usePivotTabs']) { switch ($wgPivotFeatures['usePivotTabs']) {
case true: case true: