Author: arkurth
Date: Thu Feb  5 23:08:51 2015
New Revision: 1657711

URL: http://svn.apache.org/r1657711
Log:
VCL-812
Commented out the section of code which retrieves the activation status in 
Version_6.pm::activate. This will cause an activation attempt to occur every 
time an image is loaded.

Modified:
    vcl/trunk/managementnode/lib/VCL/Module/OS/Windows/Version_6.pm

Modified: vcl/trunk/managementnode/lib/VCL/Module/OS/Windows/Version_6.pm
URL: 
http://svn.apache.org/viewvc/vcl/trunk/managementnode/lib/VCL/Module/OS/Windows/Version_6.pm?rev=1657711&r1=1657710&r2=1657711&view=diff
==============================================================================
--- vcl/trunk/managementnode/lib/VCL/Module/OS/Windows/Version_6.pm (original)
+++ vcl/trunk/managementnode/lib/VCL/Module/OS/Windows/Version_6.pm Thu Feb  5 
23:08:51 2015
@@ -317,12 +317,12 @@ sub activate {
                return;
        }
        
-       # Check if Windows has already been activated
-       my $license_status = $self->get_license_status();
-       if ($license_status && $license_status =~ /licensed/i) {
-               notify($ERRORS{'OK'}, 0, "Windows has already been activated");
-               return 1;
-       }
+       ## Check if Windows has already been activated
+       #my $license_status = $self->get_license_status();
+       #if ($license_status && $license_status =~ /licensed/i) {
+       #       notify($ERRORS{'OK'}, 0, "Windows has already been activated");
+       #       return 1;
+       #}
        
        # Attempt to activate first using KMS server
        # Attempt to activate using MAK if KMS fails or is not configured


Reply via email to