]> xenbits.xensource.com Git - xcp/xen-api.git/commitdiff
Function to check license expiry
authorRob Hoes <rob.hoes@citrix.com>
Wed, 26 Jan 2011 17:39:04 +0000 (17:39 +0000)
committerRob Hoes <rob.hoes@citrix.com>
Wed, 26 Jan 2011 17:39:04 +0000 (17:39 +0000)
Signed-off-by: Rob Hoes <rob.hoes@citrix.com>
ocaml/license/license.ml

index 7811678cccd22b633d3c9ff397f38b18d71ae0b3..078ac055f58b6fb2d91992e213398ecd3f789e74 100644 (file)
@@ -154,6 +154,6 @@ let license : license ref = ref (default ())
 
 (* Calls to obtain info about license *)
 
-let check_expiry l = true
-(*     Unix.time () < l.expiry *)
+let check_expiry l = 
+       Unix.time () < l.expiry