From: Mr. E23 Date: Fri, 28 Nov 2003 08:13:52 +0000 (+0000) Subject: Removed unnecessary clearing of linkscc X-Git-Tag: 1.1.0~66 X-Git-Url: https://git.cyclocoop.org/admin/?a=commitdiff_plain;h=5e5a5929e451cef2595baf78554e85b81244c730;p=lhc%2Fweb%2Fwiklou.git Removed unnecessary clearing of linkscc --- diff --git a/includes/Article.php b/includes/Article.php index 1cb0dd714c..46dc201574 100644 --- a/includes/Article.php +++ b/includes/Article.php @@ -494,21 +494,6 @@ class Article { "WHERE rc_cur_id=" . $this->getID(); wfQuery( $sql, DB_WRITE, $fname ); - global $wgEnablePersistentLC; - if ( $wgEnablePersistentLC ) { - - // Purge link cache for this page - $pageid=$this->getID(); - wfQuery("DELETE FROM linkscc WHERE lcc_pageid='{$pageid}'", DB_WRITE); - - // This next query just makes sure stub colored links to this page - // are updated correctly (I think). If performance is more important - // than real-time updating of stub links, we really should skip - // this query. - wfQuery("DELETE linkscc FROM linkscc,links ". - "WHERE lcc_title=links.l_from AND l_to={$pageid}", DB_WRITE); - } - } if( $wgDBtransactions ) { $sql = "COMMIT";