Defines.php: Drop obsolete Anti-lock flags

There's no need to continue keeping these.
Direct upgrade from 1.25 is no longer supported.

Bug: T253436
Change-Id: I4686f8caaea94c7136ab859e10a6bd834b8c89d3
This commit is contained in:
Ammarpad 2021-05-30 13:47:20 +01:00
parent 4494ac49c0
commit 4cf2534b91
2 changed files with 2 additions and 11 deletions

View file

@ -386,6 +386,8 @@ because of Phabricator reports.
should get a load balancer (factory) injected in the constructor instead.
* ActorNormalization::acquireActorId now requires IDatabase parameter.
Not providing one emitted deprecation warnings since 1.36.
* Anti-lock constants ALF_PRELOAD_LINK, ALF_NO_BLOCK_LOCK, ALF_NO_LINK_LOCK
and ALF_PRELOAD_EXISTENCE have been removed. They're unused since 1.25.
* …
== Compatibility ==

View file

@ -98,17 +98,6 @@ define( 'AV_SCAN_ABORTED', -1 ); # scan aborted, the file is probably immune
define( 'AV_SCAN_FAILED', false ); # scan failed (scanner not found or error in scanner)
/** @} */
/** @{
* Anti-lock flags
* Was used by $wgAntiLockFlags, which was removed with 1.25
* Constants kept to not have warnings when used in LocalSettings
*/
define( 'ALF_PRELOAD_LINKS', 1 ); // unused
define( 'ALF_PRELOAD_EXISTENCE', 2 ); // unused
define( 'ALF_NO_LINK_LOCK', 4 ); // unused
define( 'ALF_NO_BLOCK_LOCK', 8 ); // unused
/** @} */
/** @{
* Date format selectors; used in user preference storage and by
* Language::date() and co.