From e6d6873afd92731c853e8c4ef459a0d80376c44c Mon Sep 17 00:00:00 2001 From: Aaron Schulz Date: Mon, 23 Jul 2012 20:55:21 -0700 Subject: [PATCH] Removed unused $wgAntiLockFlags flags. Change-Id: I56a24db564906256f78b5d1903de4ddd70a13bc4 --- includes/DefaultSettings.php | 7 ------- includes/Defines.php | 4 ++-- 2 files changed, 2 insertions(+), 9 deletions(-) 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 ); /**@}*/ -- 2.20.1