mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-11-08 20:22:42 +01:00
Hide WePay from self hosters
This commit is contained in:
parent
8ff1ef9ed4
commit
c85a3dc663
@ -141,6 +141,10 @@ class Gateway extends Eloquent
|
||||
$query->where('payment_library_id', '=', 1)
|
||||
->whereIn('id', static::$preferred)
|
||||
->whereIn('id', $accountGatewaysIds);
|
||||
|
||||
if (! Utils::isNinja()) {
|
||||
$query->where('id', '!=', GATEWAY_WEPAY);
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user