Remove use of deprecated wfRunHooks

Change-Id: I390f731564d02866f2724284e2a5e0639f4a889d
This commit is contained in:
addshore 2015-08-06 19:09:19 +01:00
parent fb78225f76
commit aea5ebab38

View file

@ -99,7 +99,7 @@ class VisualEditorDataModule extends ResourceLoaderModule {
// EditPage supports customisation based on title, we can't support that here
// since these messages are cached on a site-level. $wgTitle is likely set to null.
$title = Title::newFromText( 'Dwimmerlaik' );
wfRunHooks( 'EditPageCopyrightWarning', array( $title, &$copywarnMsg ) );
Hooks::run( 'EditPageCopyrightWarning', array( $title, &$copywarnMsg ) );
// Keys used in copyright warning
$msgKeys[] = 'copyrightpage';