X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=opensearch_desc.php;h=0b5697270a7a2be9546b011b0d5922cb44ae95c8;hb=09763c14ed75b97d30d314438c1f4247e50debfc;hp=5e5e35d3334b1be37e63aac184df5ecbd3cd52a0;hpb=5bd2a0a7f591f97acbe6cf73ad6d703ea8cca670;p=lhc%2Fweb%2Fwiklou.git 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 );