r2090 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r2089‎ | r2090 | r2091 >
Date:08:13, 28 November 2003
Author:e23
Status:old
Tags:
Comment:
Removed unnecessary clearing of linkscc
Modified paths:
  • /trunk/phase3/includes/Article.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/Article.php
@@ -494,21 +494,6 @@
495495 "WHERE rc_cur_id=" . $this->getID();
496496 wfQuery( $sql, DB_WRITE, $fname );
497497
498 - global $wgEnablePersistentLC;
499 - if ( $wgEnablePersistentLC ) {
500 -
501 - // Purge link cache for this page
502 - $pageid=$this->getID();
503 - wfQuery("DELETE FROM linkscc WHERE lcc_pageid='{$pageid}'", DB_WRITE);
504 -
505 - // This next query just makes sure stub colored links to this page
506 - // are updated correctly (I think). If performance is more important
507 - // than real-time updating of stub links, we really should skip
508 - // this query.
509 - wfQuery("DELETE linkscc FROM linkscc,links ".
510 - "WHERE lcc_title=links.l_from AND l_to={$pageid}", DB_WRITE);
511 - }
512 -
513498 }
514499 if( $wgDBtransactions ) {
515500 $sql = "COMMIT";

Status & tagging log