Fix mistake in ObjectCache doc
authorAmir Sarabadani <ladsgroup@gmail.com>
Fri, 10 Mar 2017 09:42:43 +0000 (13:12 +0330)
committerAmir Sarabadani <ladsgroup@gmail.com>
Fri, 10 Mar 2017 09:42:43 +0000 (13:12 +0330)
Change-Id: Iafe3c460ca462aa160cfea6769fd78f8b023548c

includes/objectcache/ObjectCache.php

index 0a4f0ed..cf9033b 100644 (file)
@@ -359,7 +359,7 @@ class ObjectCache {
         *
         * @since 1.26
         * @return WANObjectCache
-        * @deprecated Since 1.28 Use MediaWikiServices::getMainWANCache()
+        * @deprecated Since 1.28 Use MediaWikiServices::getMainWANObjectCache()
         */
        public static function getMainWANInstance() {
                return MediaWikiServices::getInstance()->getMainWANObjectCache();