Page MenuHomePhabricator

Replace deprecated block methods in CheckUser
Closed, ResolvedPublic2 Estimated Story Points

Description

CheckUser uses the deprecated method User::isBlocked, and should be updated to use User::getBlock instead.

Since we're starting work on this extension we could check that it is up-to-date with all the block changes we've made, by:

  • searching for methods and properties deprecated since 1.33
  • updating any we find

Event Timeline

Niharika triaged this task as Medium priority.Oct 17 2019, 6:07 PM
Niharika set the point value for this task to 2.

Change 545383 had a related patch set uploaded (by Tchanders; owner: Tchanders):
[mediawiki/extensions/CheckUser@master] Replace calls to deprecated User::isBlocked

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

The repo was fairly up-to-date - only found User::isBlocked of the deprecated block methods.

Change 545383 merged by jenkins-bot:
[mediawiki/extensions/CheckUser@master] Replace calls to deprecated User::isBlocked

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