r87596 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r87595‎ | r87596 | r87597 >
Date:23:15, 6 May 2011
Author:reedy
Status:ok
Tags:
Comment:
HTMLCacheUpdate->invalidate() deprecated since 1.16, unused
Modified paths:
  • /trunk/phase3/includes/cache/HTMLCacheUpdate.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/cache/HTMLCacheUpdate.php
@@ -154,15 +154,6 @@
155155 }
156156
157157 /**
158 - * Invalidate a range of pages, right now
159 - * @deprecated since 1.16
160 - */
161 - public function invalidate( $startId = false, $endId = false ) {
162 - $titleArray = $this->mCache->getLinks( $this->mTable, $startId, $endId );
163 - $this->invalidateTitles( $titleArray );
164 - }
165 -
166 - /**
167158 * Invalidate an array (or iterator) of Title objects, right now
168159 */
169160 protected function invalidateTitles( $titleArray ) {

Status & tagging log