mediawiki-extensions-AbuseF.../includes
Daimona Eaytoy 01f699ff07 Remove useless SpecialAbuseLog::getNotDeletedCond
The method is used to make afl_deleted = null treated as afl_deleted =
0. Digging into code history, I found that it's in place because:

*In rEABF14b850f891de27ea09a1439e3835f66c49ad773f the afl_deleted field
was introduced as NULL, and wasn't used.
*In rEABFfe39e38282fc4c7903eb3f8080dbf0bab0f697f4 it was ALTERed to be
"NOT NULL DEFAULT 0"
*And in rEABFa2ead8bfb5166e0b354f3bb3e09f39795cb5b1c0 this function was
introduced to "negate the need for a schema change".

However, when ALTERing afl_deleted to be NOT NULL DEFAULT 0, all NULL
values have been automatically converted to 0 thanks to the DEFAULT
clause, and being the column NOT NULL, of course no NULL are still
there... The ALTER was applied to all wikis (in 2010), so afl_deleted is
NOT NULL everywhere and we can safely treat it as such.

Change-Id: Iebd843629d26e392d2e24efc2795c767e854897a
2019-03-23 11:49:30 +01:00
..
api Remove useless SpecialAbuseLog::getNotDeletedCond 2019-03-23 11:49:30 +01:00
pagers Remove useless SpecialAbuseLog::getNotDeletedCond 2019-03-23 11:49:30 +01:00
parser Replace double-equals with triple-equals 2019-03-22 16:12:13 +01:00
special Remove useless SpecialAbuseLog::getNotDeletedCond 2019-03-23 11:49:30 +01:00
Views Replace double-equals with triple-equals 2019-03-22 16:12:13 +01:00
AbuseFilter.php Merge "Replace double-equals with triple-equals" 2019-03-23 07:56:37 +00:00
AbuseFilterChangesList.php Merge "Don't send long patterns with GET" 2019-01-20 14:20:31 +00:00
AbuseFilterHooks.php Replace double-equals with triple-equals 2019-03-22 16:12:13 +01:00
AbuseFilterModifyLogFormatter.php Actually mark abusefilter creations as such in the AbuseFilter log 2018-01-12 17:03:13 +00:00
AbuseFilterPreAuthenticationProvider.php Replace double-equals with triple-equals 2019-03-22 16:12:13 +01:00
AbuseFilterSuppressLogFormatter.php Migrate AbuseFilter suppress log 2018-08-21 16:05:54 +00:00
AbuseFilterVariableHolder.php Merge "Simplify AbuseFilterVariableHolder::dumpAllVars" 2019-03-17 11:04:53 +00:00
AbuseLogHitFormatter.php Minor escaping fixes 2018-07-05 18:51:30 +00:00
AFComputedVariable.php Replace double-equals with triple-equals 2019-03-22 16:12:13 +01:00
TableDiffFormatterFullContext.php Fix coding conventions exclusion rules 2018-04-20 08:40:18 +00:00