WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-api

[Xen-API] [PATCH] remove license *expiry* check

To: xen-api@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-API] [PATCH] remove license *expiry* check
From: David Scott <dave.scott@xxxxxxxxxxxxx>
Date: Thu, 24 Dec 2009 16:39:53 +0000
Delivery-date: Thu, 24 Dec 2009 08:34:15 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-api-request@lists.xensource.com?subject=help>
List-id: Discussion of API issues surrounding Xen <xen-api.lists.xensource.com>
List-post: <mailto:xen-api@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-api>, <mailto:xen-api-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-api>, <mailto:xen-api-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-api-bounces@xxxxxxxxxxxxxxxxxxx
# HG changeset patch
# User David Scott <dave.scott@xxxxxxxxxxxxx>
# Date 1261672765 0
# Node ID 4721344ab39ff8b6762ded31b176f2556bfa6569
# Parent  cc0e09b294e1e383196106bf97278e0918c5693c
Remove the check for a license being 'valid' (the restrictions checks were 
already gone; this one caused licenses to 'expire' after 30days)

Signed-off-by: David Scott <dave.scott@xxxxxxxxxxxxx>

diff -r cc0e09b294e1 -r 4721344ab39f ocaml/license/license.ml
--- a/ocaml/license/license.ml  Mon Dec 21 21:38:37 2009 +0000
+++ b/ocaml/license/license.ml  Thu Dec 24 16:39:25 2009 +0000
@@ -199,7 +199,7 @@
 let check_expiry l =
   Unix.time () < l.expiry
 
-let license_valid () = check_expiry !license
+let license_valid () = true
 
 (* License setting functions *)
        
1 file changed, 1 insertion(+), 1 deletion(-)
ocaml/license/license.ml |    2 +-


Attachment: xen-api.hg.patch
Description: Text Data

_______________________________________________
xen-api mailing list
xen-api@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/mailman/listinfo/xen-api
<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-API] [PATCH] remove license *expiry* check, David Scott <=