Page MenuHomePhabricator

Remove wfConfiguredReadOnlyReason
Open, Needs TriagePublic

Description

The global function wfConfiguredReadOnlyReason is only used in JobQueueGroup::singleton. I suggest moving the one line of code to where it is needed and deprecating and removing the global function

Codesearch: https://codesearch.wmcloud.org/search/?q=wfConfiguredReadOnlyReason&i=nope&files=&repos=

Event Timeline

Restricted Application added a subscriber: Aklapper. · View Herald Transcript

Change 650569 had a related patch set uploaded (by DannyS712; owner: DannyS712):
[mediawiki/core@master] Deprecate a bunch of global functions

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

Change 650569 merged by jenkins-bot:
[mediawiki/core@master] Deprecate a bunch of global functions

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