HomePhabricator

Updated mediawiki/extensions Project: mediawiki/extensions/Echo…

Authored by Legoktm.

Description

Updated mediawiki/extensions Project: mediawiki/extensions/Echo c2258dd7cee73ec0c60391d8bf9254f62e12286d

Kill $wgEchoCohortInterval

The Echo cohort study was finished in July 2013 and hasn't been used
since. The code was also checking in reverse order, for example it
checked registration before checking whether the survey was still
active.

EchoHooks::isEchoDisabled() was removed, and all callers were checked to
make sure they were also checking for anonymity.
EchoNotificationController::doNotification() will throw an exception if
the user is anonymous, since it shouldn't be possible to get an
anonymous user into that code path.

Bug: T101047
Change-Id: Iada2f6d2066c0f6bba5cc58aeb03d687632ac5a4

Details

Committed
Gerrit Code ReviewJun 2 2015, 12:57 AM
Parents
rMEXTda47c8e462a5: Syncronize VisualEditor: 0865358..e9384ad
Branches
Unknown
Tags
Unknown
ChangeId
Iada2f6d2066c0f6bba5cc58aeb03d687632ac5a4

Event Timeline