From: Tim Starling Date: Sat, 20 Aug 2005 01:30:22 +0000 (+0000) Subject: fixed missing branch X-Git-Tag: 1.6.0~1885 X-Git-Url: http://git.cyclocoop.org/%22.%24h.%22?a=commitdiff_plain;h=8d8904192735ff45ffc132966955ab83e1a5eb73;p=lhc%2Fweb%2Fwiklou.git fixed missing branch --- diff --git a/includes/LinkCache.php b/includes/LinkCache.php index a6df007184..f5ff7f9423 100644 --- a/includes/LinkCache.php +++ b/includes/LinkCache.php @@ -153,6 +153,8 @@ class LinkCache { $db =& wfGetDB( DB_MASTER ); if ( !( $wgAntiLockFlags & ALF_NO_LINK_LOCK ) ) { $options = array( 'FOR UPDATE' ); + } else { + $options = array(); } } else { $db =& wfGetDB( DB_SLAVE );