openscholar/openscholar — pull request #2007 by baisong (2013-03-12 15:18:11+00:00)
Title: make validate() method throw exception, not return bool #1689

#1689

Note: nothing to update in tests--

* The tests never use the method `MediaInternetEmbedHandler::validate()`;
* instead the tests directly check the boolean return value from the function `media_embed_check_src()` (the same check made in the method).