java/code/src/com/redhat/rhn/manager/system/SystemManager.java | 5 +++++
1 file changed, 5 insertions(+)
New commits:
commit fe350b446aec70d1003ffa1677fb6e1912fd0b15
Author: Milan Zazrivec <mzazrivec(a)redhat.com>
Date: Wed Apr 27 14:26:35 2011 +0200
680176 - display unlimited subscriptions if applicable
That is in cases where the host has virtualization / virtualization
host entitlement assigned.
diff --git a/java/code/src/com/redhat/rhn/manager/system/SystemManager.java
b/java/code/src/com/redhat/rhn/manager/system/SystemManager.java
index 6b6b37c..247004d 100644
--- a/java/code/src/com/redhat/rhn/manager/system/SystemManager.java
+++ b/java/code/src/com/redhat/rhn/manager/system/SystemManager.java
@@ -2028,6 +2028,11 @@ public class SystemManager extends BaseManager {
Long availableSubscriptions = null;
+ /* Check if the channel is consumable for free */
+ if (ChannelManager.isChannelFreeForSubscription(serverIn, channelIn)) {
+ return availableSubscriptions;
+ }
+
/* If serverIn is fve eligible, check number of flex guest entitlements available
*/
if (m.execute(params).size() >= 1) {
availableSubscriptions =
Show replies by date