Page MenuHomePhabricator

Remove wfClearOutputBuffers
Open, Needs TriagePublic


The global function wfClearOutputBuffers only contains a single line, wfResetOutputBuffers( false );, and only has two known callers, both in core. I suggest using wfResetOutputBuffers( false ); directly in the two callers and deprecating and removing the global function.


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

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