X-Git-Url: https://git.heureux-cyclage.org/?p=lhc%2Fweb%2Fwiklou.git;a=blobdiff_plain;f=opensearch_desc.php;h=0b5697270a7a2be9546b011b0d5922cb44ae95c8;hp=5e5e35d3334b1be37e63aac184df5ecbd3cd52a0;hb=1fb06c0c71282807b0ccecd1d71fb16244846955;hpb=a9d435fb43f71695b1b4619281c21072d56433d0 diff --git a/opensearch_desc.php b/opensearch_desc.php index 5e5e35d333..0b5697270a 100644 --- a/opensearch_desc.php +++ b/opensearch_desc.php @@ -94,7 +94,7 @@ foreach ( $wgOpenSearchTemplates as $type => $template ) { // Allow hooks to override the suggestion URL settings in a more // general way than overriding the whole search engine... -wfRunHooks( 'OpenSearchUrls', array( &$urls ) ); +Hooks::run( 'OpenSearchUrls', array( &$urls ) ); foreach ( $urls as $attribs ) { print Xml::element( 'Url', $attribs );