summaryrefslogtreecommitdiff
path: root/includes/interwiki/Interwiki.php
diff options
context:
space:
mode:
Diffstat (limited to 'includes/interwiki/Interwiki.php')
-rw-r--r--includes/interwiki/Interwiki.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/includes/interwiki/Interwiki.php b/includes/interwiki/Interwiki.php
index 55b25069..02fbb080 100644
--- a/includes/interwiki/Interwiki.php
+++ b/includes/interwiki/Interwiki.php
@@ -19,6 +19,8 @@
*
* @file
*/
+use \Cdb\Exception as CdbException;
+use \Cdb\Reader as CdbReader;
/**
* The interwiki class
@@ -192,7 +194,7 @@ class Interwiki {
global $wgMemc, $wgInterwikiExpiry;
$iwData = array();
- if ( !wfRunHooks( 'InterwikiLoadPrefix', array( $prefix, &$iwData ) ) ) {
+ if ( !Hooks::run( 'InterwikiLoadPrefix', array( $prefix, &$iwData ) ) ) {
return Interwiki::loadFromArray( $iwData );
}