Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

minor

  • Loading branch information...
commit 5bcb692d7b8e04229c84a7391bd4c8e7a45e7ede 1 parent 1407574
Fitzchak Yitzchaki authored March 25, 2012
8  Raven.Database/Commercial/ValidateLicense.cs
@@ -55,8 +55,8 @@ public void Execute(DocumentDatabase database)
55 55
 				DisableFloatingLicenses = true,
56 56
 				SubscriptionEndpoint = "http://uberprof.com/Subscriptions.svc"
57 57
 			};
58  
-			licenseValidator.LicenseInvalidated+=LicenseValidatorOnLicenseInvalidated;
59  
-			licenseValidator.MultipleLicensesWereDiscovered += LicenseValidatorOnMultipleLicensesWereDiscovered;
  58
+			licenseValidator.LicenseInvalidated += OnLicenseInvalidated;
  59
+			licenseValidator.MultipleLicensesWereDiscovered += OnMultipleLicensesWereDiscovered;
60 60
 
61 61
 			if (string.IsNullOrEmpty(licenseText))
62 62
 			{
@@ -125,7 +125,7 @@ private static string GetLicensePath(DocumentDatabase database)
125 125
 			return Path.Combine(AppDomain.CurrentDomain.BaseDirectory, "license.xml");
126 126
 		}
127 127
 
128  
-		private void LicenseValidatorOnMultipleLicensesWereDiscovered(object sender, DiscoveryHost.ClientDiscoveredEventArgs clientDiscoveredEventArgs)
  128
+		private void OnMultipleLicensesWereDiscovered(object sender, DiscoveryHost.ClientDiscoveredEventArgs clientDiscoveredEventArgs)
129 129
 		{
130 130
 			logger.Error("A duplicate license was found at {0} for user {1}. User Id: {2}. Both licenses were disabled!", 
131 131
 				clientDiscoveredEventArgs.MachineName, 
@@ -143,7 +143,7 @@ private void LicenseValidatorOnMultipleLicensesWereDiscovered(object sender, Dis
143 143
 			};
144 144
 		}
145 145
 
146  
-		private void LicenseValidatorOnLicenseInvalidated(InvalidationType invalidationType)
  146
+		private void OnLicenseInvalidated(InvalidationType invalidationType)
147 147
 		{
148 148
 			logger.Error("The license have expired and can no longer be used");
149 149
 			CurrentLicense = new LicensingStatus

0 notes on commit 5bcb692

Please sign in to comment.
Something went wrong with that request. Please try again.