Merge "Perform a permission check on the title when changing the page language"
[lhc/web/wiklou.git] / includes / cache / MessageCache.php
index ad1fffb..16c1ac5 100644 (file)
@@ -395,7 +395,7 @@ class MessageCache {
 
        /**
         * @param string $code
-        * @param array $where List of wfDebug() comments
+        * @param array &$where List of wfDebug() comments
         * @param integer $mode Use MessageCache::FOR_UPDATE to use DB_MASTER
         * @return bool|string True on success or one of ("cantacquire", "disabled")
         */
@@ -816,7 +816,7 @@ class MessageCache {
                }
 
                // Normalise title-case input (with some inlining)
-               $lckey = MessageCache::normalizeKey( $key );
+               $lckey = self::normalizeKey( $key );
 
                Hooks::run( 'MessageCache::get', [ &$lckey ] );