Deprecate DO_MAINTENANCE
authorKunal Mehta <legoktm@member.fsf.org>
Thu, 12 Apr 2018 16:44:51 +0000 (09:44 -0700)
committerKunal Mehta <legoktm@member.fsf.org>
Thu, 12 Apr 2018 16:44:51 +0000 (09:44 -0700)
commit4ff20403580e14aa301729f414fe170ef846f596
tree9abc75eb031d48f2c9f3dc6fb0b25dc82fedeb35
parent91bdb5c431292099b0c9fcc587d0afacba837264
Deprecate DO_MAINTENANCE

This has been replaced by RUN_MAINTENANCE_IF_MAIN for quite a while now,
but never officially deprecated.

The main motiviation for this is that tools like CodeSniffer have been
using RUN_MAINTENANCE_IF_MAIN to detect whether a file is a maintenance
script, and missed files that used the old constant.

Change-Id: Iebbe1ecaa7157ba22ebcac9c481592e09410a9f5
RELEASE-NOTES-1.31
maintenance/Maintenance.php