Merge pull request #74 from paladox/patch-1

Replace wfRunHooks with Hooks::run

Thanks @paladox merging into master
pull/90/head
Tom Hutchison 2019-03-08 16:29:00 -05:00 committed by GitHub
commit e1acefb9d7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -198,7 +198,7 @@ class pivotTemplate extends BaseTemplate {
<a href="#" data-options="align:left" data-dropdown="drop1" class="button secondary small radius pull-right hide-for-print" id="drop"><i class="fa fa-navicon fa-lg"><span id="page-actions" class="show-for-medium-up">&nbsp;<?php echo wfMessage( 'actions' )->text() ?></span></i></a>
<ul id="drop1" class="tiny content f-dropdown" data-dropdown-content>
<?php foreach($this->data['content_actions'] as $key => $tab) { echo preg_replace(array('/\sprimary="1"/', '/\scontext="[a-z]+"/', '/\srel="archives"/'),'',$this->makeListItem($key, $tab)); } ?>
<?php wfRunHooks( 'SkinTemplateToolboxEnd', array( &$this, true )); ?>
<?php Hooks::run( 'SkinTemplateToolboxEnd', array( &$this, true )); ?>
</ul>
<?php endif;
@ -307,4 +307,4 @@ class pivotTemplate extends BaseTemplate {
}
return; }
}
?>
?>