Page MenuHomePhabricator

Use isDisabled() instead of isBlank() in getGrantName()
Closed, ResolvedPublic

Description

Currently, getGrantName in User.php uses isBlank() to determine whether to display a message. However, this does not check if a message is disabled. Although these messages may not be disabled often, it is a better check to use isDisabled().

Event Timeline

Change 324337 had a related patch set uploaded (by MtDu):
Use isDisabled() instead of isBlank() in getGrantName in User.php

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

Change 324337 merged by jenkins-bot:
Use isDisabled() instead of isBlank() in getGrantName in User.php

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