Page MenuHomePhabricator

Remove support for calling LogEventsList::userCan* functions without passing a user object
Closed, ResolvedPublic

Description

Hard deprecated in 1.35
Affected functions:

  • LogEventsList::userCan
  • LogEventsList::userCanBitfield
  • LogEventsList::userCanViewLogType

No known callers exist for any of these outside of core, so nothing more needs to be updated: https://codesearch.wmflabs.org/search/?q=LogEventsList%3A%3AuserCan&i=nope&files=&repos=

Event Timeline

DannyS712 changed the task status from Open to Stalled.Feb 20 2020, 2:17 AM
DannyS712 triaged this task as Medium priority.
DannyS712 created this task.
DannyS712 moved this task from Unsorted to Next on the User-DannyS712 board.

Cannot be actioned until 1.36

DannyS712 changed the task status from Stalled to Open.Jul 14 2020, 9:52 AM

Change 626250 had a related patch set uploaded (by DannyS712; owner: DannyS712):
[mediawiki/core@master] Remove support for LogEventsList::userCan* functions without a user

https://gerrit.wikimedia.org/r/626250

Change 626250 merged by jenkins-bot:
[mediawiki/core@master] Remove support for LogEventsList::userCan* functions without a user

https://gerrit.wikimedia.org/r/626250