Removed unused $wgAntiLockFlags flags.
authorAaron Schulz <aschulz@wikimedia.org>
Tue, 24 Jul 2012 03:55:21 +0000 (20:55 -0700)
committerAaron Schulz <aschulz@wikimedia.org>
Tue, 24 Jul 2012 03:55:21 +0000 (20:55 -0700)
Change-Id: I56a24db564906256f78b5d1903de4ddd70a13bc4

includes/DefaultSettings.php
includes/Defines.php

index 3311fb1..6286ee7 100644 (file)
@@ -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;
 
index f7b41b8..56218d6 100644 (file)
@@ -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 );
 /**@}*/