Revert a portion of r22249 that wasn't intended for commit.
Revert a portion of r22249 that wasn't intended for commit.

* subversion/libsvn_repos/hooks.c
  Revert to pre-r22249 state.

jmckaskill/subversion,jmckaskill/subversion,jmckaskill/subversion,jmckaskill/subversion,jmckaskill/subversion,jmckaskill/subversion,jmckaskill/subversion,jmckaskill/subversion