FIX Improve performance of CMSMain::getArchiveWarningMessage (#2231)
FIX Improve performance of CMSMain::getArchiveWarningMessage (#2231)

* FIX Improve performance of CMSMain::getArchiveWarningMessage

* Remove private method

* Linting

silverstripe/silverstripe-cms,silverstripe/silverstripe-cms