joomla/joomla-platform — pull request #1722 by dongilbert (2012-11-27 07:33:45+00:00)
Title: Consolidating duplicate code checks into isSupported() method

8 lines of code were duplicated across every `JImageFilter*` class in the execute method to determine whether or not the `imagefilter` function existed. Seemed a little ridiculous to me, so I consolidated the check into it's own `isSupported()` method, and call that instead.