X-Git-Url: https://git.cyclocoop.org/?a=blobdiff_plain;f=includes%2FLinksUpdate.php;h=30b1b502a43415d15b30b11487375ab69cc1ac23;hb=1ce5518c0b4bf749d2438ac73bea6a7fb88f170d;hp=506402e40720af38bdef91be2d525bbb70550147;hpb=7fb4f4d58efb99ed3427008a6cebf448423e9450;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/LinksUpdate.php b/includes/LinksUpdate.php index 506402e407..30b1b502a4 100644 --- a/includes/LinksUpdate.php +++ b/includes/LinksUpdate.php @@ -34,7 +34,7 @@ class LinksUpdate { function doUpdate() { global $wgUseDumbLinkUpdate, $wgLinkCache, $wgDBtransactions; - global $wgEnablePersistentLC, $wgUseCategoryMagic; + global $wgUseCategoryMagic; if ( $wgUseDumbLinkUpdate ) { $this->doDumbUpdate(); @@ -70,7 +70,7 @@ class LinksUpdate { $dbw->delete( 'pagelinks', array( 'pl_from' => $this->mId ), $fname ); # Get the addition list - $add = $wgLinkCache->getGoodLinks(); + $add = $wgLinkCache->getPageLinks(); } # Do the insertion