From: Aaron Schulz Date: Tue, 24 Jul 2012 03:55:21 +0000 (-0700) Subject: Removed unused $wgAntiLockFlags flags. X-Git-Tag: 1.31.0-rc.0~22977 X-Git-Url: http://git.cyclocoop.org/%7D%7Cconcat%7B?a=commitdiff_plain;h=e6d6873afd92731c853e8c4ef459a0d80376c44c;p=lhc%2Fweb%2Fwiklou.git Removed unused $wgAntiLockFlags flags. Change-Id: I56a24db564906256f78b5d1903de4ddd70a13bc4 --- diff --git a/includes/DefaultSettings.php b/includes/DefaultSettings.php index 3311fb1e74..6286ee75e3 100644 --- a/includes/DefaultSettings.php +++ b/includes/DefaultSettings.php @@ -1584,17 +1584,10 @@ $wgUseDumbLinkUpdate = false; /** * Anti-lock flags - bitfield - * - ALF_PRELOAD_LINKS: - * Preload links during link update for save - * - ALF_PRELOAD_EXISTENCE: - * Preload cur_id during replaceLinkHolders * - ALF_NO_LINK_LOCK: * Don't use locking reads when updating the link table. This is * necessary for wikis with a high edit rate for performance * reasons, but may cause link table inconsistency - * - ALF_NO_BLOCK_LOCK: - * As for ALF_LINK_LOCK, this flag is a necessity for high-traffic - * wikis. */ $wgAntiLockFlags = 0; diff --git a/includes/Defines.php b/includes/Defines.php index f7b41b8791..56218d6aee 100644 --- a/includes/Defines.php +++ b/includes/Defines.php @@ -144,8 +144,8 @@ define( 'AV_SCAN_FAILED', false ); #scan failed (scanner not found or error in * Anti-lock flags * See DefaultSettings.php for a description */ -define( 'ALF_PRELOAD_LINKS', 1 ); -define( 'ALF_PRELOAD_EXISTENCE', 2 ); +define( 'ALF_PRELOAD_LINKS', 1 ); // unused +define( 'ALF_PRELOAD_EXISTENCE', 2 ); // unused define( 'ALF_NO_LINK_LOCK', 4 ); define( 'ALF_NO_BLOCK_LOCK', 8 ); /**@}*/