woothemes/woocommerce — pull request #6092 by thenbrent (2014-08-25 19:13:27+00:00)
Title: Don't create redundant `$payment_method` var

The `wc_get_payment_gateway_by_order()` function assigns the `$order->payment_method` value to a `$payment_method` variable, but then never uses that variable. This fixes that.