Removing old patch number checking code.
Revert "Removing old patch number checking code."

This reverts commit f858b35e433529e9a47ece132bef80c01d15e0e5.