mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-06-23 20:00:33 -04: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)
|
$query->where('payment_library_id', '=', 1)
|
||||||
->whereIn('id', static::$preferred)
|
->whereIn('id', static::$preferred)
|
||||||
->whereIn('id', $accountGatewaysIds);
|
->whereIn('id', $accountGatewaysIds);
|
||||||
|
|
||||||
|
if (! Utils::isNinja()) {
|
||||||
|
$query->where('id', '!=', GATEWAY_WEPAY);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
x
Reference in New Issue
Block a user