profiler: Rename Profile::setTemplated to Profile::setAllowOutput
authorTimo Tijhof <krinklemail@gmail.com>
Wed, 28 Aug 2019 00:20:47 +0000 (01:20 +0100)
committerKrinkle <krinklemail@gmail.com>
Wed, 28 Aug 2019 01:10:56 +0000 (01:10 +0000)
commitbc7c85d609b9b629d73e188a5c99ead51aaf88d2
tree3d8d51dfefa4c212c473dc54541dc4fc163ea7cd
parent0b0d29dc60637b2e91a8e4ac536a0b3a7f920b5f
profiler: Rename Profile::setTemplated to Profile::setAllowOutput

This is set from three places:
1) SkinTemplate.php, 2) Maintenance.php, and 3) load.php.

These last two are very much *not* HTML-templated output.
Rename these this method pair to getAllowOutput/setAllowOutput instead,
which is less confusing going forward. No known callers outside of
core (updated in the next commit), but I'll keep compat for one
release cycle just in case.

Change-Id: I828f95332dca3c6766b2b485ffb71762542b42d7
RELEASE-NOTES-1.34
includes/profiler/Profiler.php