From f6d65e533c62f6deb21342d4901ece24497b433e Mon Sep 17 00:00:00 2001 From: Pierre Schmitz Date: Thu, 4 Jun 2015 07:31:04 +0200 Subject: Update to MediaWiki 1.25.1 --- includes/MWNamespace.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'includes/MWNamespace.php') diff --git a/includes/MWNamespace.php b/includes/MWNamespace.php index 392f5582..bd685514 100644 --- a/includes/MWNamespace.php +++ b/includes/MWNamespace.php @@ -72,7 +72,7 @@ class MWNamespace { /** * @since 1.20 */ - wfRunHooks( 'NamespaceIsMovable', array( $index, &$result ) ); + Hooks::run( 'NamespaceIsMovable', array( $index, &$result ) ); return $result; } @@ -213,7 +213,7 @@ class MWNamespace { if ( is_array( $wgExtraNamespaces ) ) { $namespaces += $wgExtraNamespaces; } - wfRunHooks( 'CanonicalNamespaces', array( &$namespaces ) ); + Hooks::run( 'CanonicalNamespaces', array( &$namespaces ) ); } return $namespaces; } -- cgit v1.2.3-54-g00ecf