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

Commit

Permalink
Fix MW 1.32 compatibility with removal of wfRunHooks() change to Hook…
Browse files Browse the repository at this point in the history
…s:run()
  • Loading branch information
Hutchy68 committed Mar 8, 2019
1 parent d3f5f8b commit 19a1273
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
## Version 2.2
* [bug][compatibility] Fix for MW version 1.32 - wfRunHooks() to Hooks::run()

## Version 2.1

* [bug] Regression - Text footer alignment and social icons (follow) #319
Expand Down
2 changes: 1 addition & 1 deletion Foreground.skin.php
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,7 @@ public function execute() {
<!--RTL -->
<ul id="actions" class="f-dropdown" data-dropdown-content>
<?php foreach( $this->data['content_actions'] as $key => $item ) { echo preg_replace(array('/\sprimary="1"/','/\scontext="[a-z]+"/','/\srel="archives"/'),'',$this->makeListItem($key, $item)); } ?>
<?php wfRunHooks( 'SkinTemplateToolboxEnd', array( &$this, true ) ); ?>
<?php Hooks::run( 'SkinTemplateToolboxEnd', array( &$this, true ) ); ?>
</ul>
<!--RTL -->
<?php endif;
Expand Down
2 changes: 1 addition & 1 deletion skin.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "Foreground",
"version": "2.1.0",
"version": "2.2.0",
"author": [
"Garrick Van Buren",
"Jamie Thingelstad",
Expand Down

0 comments on commit 19a1273

Please sign in to comment.