Executing PHP patch file message incorrect

The Executing PHP patch file message in the update script is incorrectly shown.

To show that message it checks if the onBeforeSQL method exists in the the $php_patch object.

However the installer_patch_update base class already contains these methods. So when a patchfile exists it will always show the message when calling the (possibly empty) onBeforeSQL method. And never when calling onAfterSQL.