Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
Improve deprecated notice for "Old modTemplateVar getRender input" #14162
What does it do?
Aside from changing the wording and adding context to make it a bit clearer what's the problem, this also moves the deprecated notice into the conditional.
Before, the message would get logged a lot for each first TV of a certain type due to the way the foreach handles registered render methods. Now it only gets logged when a deprecated flat file is used.
Why is it needed?
Make sure only relevant deprecated notices get logged and with appropriate context.