silverstripe/silverstripe-cms — pull request #282 by sunnysideup (2013-02-01 01:02:54+00:00)
Title: Update code/model/ErrorPage.php

removed some erroneous @params in comments and added onBeforeWrite, which increases the sort number of any ErrorPage to one million. We do this so that ErrorPages will always show at the bottom of the sitetree (and not in amongst other pages). We could look at them being either at the top or the bottom, but bottom seems most appropriate.