Permalink
Browse files

minor

  • Loading branch information...
fitzchak committed Mar 25, 2012
1 parent 1407574 commit 5bcb692d7b8e04229c84a7391bd4c8e7a45e7ede
Showing with 4 additions and 4 deletions.
  1. +4 −4 Raven.Database/Commercial/ValidateLicense.cs
@@ -55,8 +55,8 @@ public void Execute(DocumentDatabase database)
DisableFloatingLicenses = true,
SubscriptionEndpoint = "http://uberprof.com/Subscriptions.svc"
};
- licenseValidator.LicenseInvalidated+=LicenseValidatorOnLicenseInvalidated;
- licenseValidator.MultipleLicensesWereDiscovered += LicenseValidatorOnMultipleLicensesWereDiscovered;
+ licenseValidator.LicenseInvalidated += OnLicenseInvalidated;
+ licenseValidator.MultipleLicensesWereDiscovered += OnMultipleLicensesWereDiscovered;
if (string.IsNullOrEmpty(licenseText))
{
@@ -125,7 +125,7 @@ private static string GetLicensePath(DocumentDatabase database)
return Path.Combine(AppDomain.CurrentDomain.BaseDirectory, "license.xml");
}
- private void LicenseValidatorOnMultipleLicensesWereDiscovered(object sender, DiscoveryHost.ClientDiscoveredEventArgs clientDiscoveredEventArgs)
+ private void OnMultipleLicensesWereDiscovered(object sender, DiscoveryHost.ClientDiscoveredEventArgs clientDiscoveredEventArgs)
{
logger.Error("A duplicate license was found at {0} for user {1}. User Id: {2}. Both licenses were disabled!",
clientDiscoveredEventArgs.MachineName,
@@ -143,7 +143,7 @@ private void LicenseValidatorOnMultipleLicensesWereDiscovered(object sender, Dis
};
}
- private void LicenseValidatorOnLicenseInvalidated(InvalidationType invalidationType)
+ private void OnLicenseInvalidated(InvalidationType invalidationType)
{
logger.Error("The license have expired and can no longer be used");
CurrentLicense = new LicensingStatus

0 comments on commit 5bcb692

Please sign in to comment.