Revert "Fix #4555 by adding the missing validate() function."

This reverts commit a55d9028adb46c073d201d3905d75af26a72931f.
Merge branch 'SCHOLAR-3.10' of https://github.com/openscholar/openscholar into SCHOLAR-3.10