Skip to content
This repository has been archived by the owner on Jul 30, 2022. It is now read-only.

Replace usge of long deprecated and removed wfSuppressWarnings and wfRestoreWarnings #352

Merged
merged 3 commits into from
Jan 16, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions Foreground.skin.php
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ class foregroundTemplate extends BaseTemplate {
public function execute() {
global $wgUser;
global $wgForegroundFeatures;
wfSuppressWarnings();
Wikimedia\AtEase\AtEase::suppressWarnings();
$this->html('headelement');
switch ($wgForegroundFeatures['enableTabs']) {
case true:
Expand Down Expand Up @@ -278,7 +278,7 @@ public function execute() {
</html>

<?php
wfRestoreWarnings();
Wikimedia\AtEase\AtEase::suppressWarnings( true );
}
}
?>