* r109659: actually return the exact type we say we do
[lhc/web/wiklou.git] / includes / Preferences.php
index 942b04f..a42c384 100644 (file)
@@ -1456,10 +1456,13 @@ class Preferences {
        }
 
        /**
+        * @deprecated in 1.19; will be removed in 1.20.
         * @param $user User
         * @return array
         */
        public static function loadOldSearchNs( $user ) {
+               wfDeprecated( __METHOD__, '1.19' );
+
                $searchableNamespaces = SearchEngine::searchableNamespaces();
                // Back compat with old format
                $arr = array();