1
0
mirror of https://github.com/Hutchy68/pivot.git synced 2025-10-26 23:17:36 +01:00
This commit is contained in:
Tom Hutchison
2020-04-05 07:55:20 -04:00
parent 078f9c258c
commit cd06863d2e
3 changed files with 12 additions and 3 deletions

View File

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