This seems like obsolete code.  How do you propose to identify who is making this request to turn testing on?  Contact me if you need ideas.