Index: trunk/phase3/includes/Article.php |
— | — | @@ -494,21 +494,6 @@ |
495 | 495 | "WHERE rc_cur_id=" . $this->getID(); |
496 | 496 | wfQuery( $sql, DB_WRITE, $fname ); |
497 | 497 | |
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 | | - |
513 | 498 | } |
514 | 499 | if( $wgDBtransactions ) { |
515 | 500 | $sql = "COMMIT"; |