1
0
mirror of https://github.com/Hutchy68/pivot.git synced 2025-04-02 19:23:14 +02: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
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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: