strangerstudios/paid-memberships-pro — pull request #134 by tubiz (2014-07-17 11:54:19+00:00)
Title: Fine tuned pmpro_gateways filter

The changes done in this pull request is summarized below.
There is no need to declare a global pmpro_gateways variable to get the list of available gateways. This has been moved to the pmpro_gateways function.
So to get the list of available gateway just call the pmpro_gateways function.
Initially the pmpro_gateways filte doesn't work because the list of available gateway isn't returned, this has been fixed.
All reference to the global pmpro_gateways variable has been changed to the pmpro_gateways function.

Also the gateway classes for the payment gateways that comes with PMP are no more being added using the foreach statement, they are being added by including the files directly.