mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-27 15:50:29 +00:00
Remove use of deprecated wfRunHooks
Change-Id: I390f731564d02866f2724284e2a5e0639f4a889d
This commit is contained in:
parent
fb78225f76
commit
aea5ebab38
|
@ -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';
|
||||
|
|
Loading…
Reference in a new issue