mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/CodeEditor
synced 2024-11-14 19:14:41 +00:00
Remove use of deprecated wfRunHooks
Change-Id: I571d47326f4033f85c71b30533f3459d5ad93c8d
This commit is contained in:
parent
d4dd5249da
commit
14c770e154
|
@ -22,7 +22,7 @@ class CodeEditorHooks {
|
|||
|
||||
// Give extensions a chance
|
||||
$lang = null;
|
||||
wfRunHooks( 'CodeEditorGetPageLanguage', array( $title, &$lang ) );
|
||||
Hooks::run( 'CodeEditorGetPageLanguage', array( $title, &$lang ) );
|
||||
|
||||
return $lang;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue