Adding spam protection code from current silverstripe.org forum

This using old ORM style? is there a new getone that retains the caching?