diff options
author | Andrew Arnott <andrewarnott@gmail.com> | 2011-08-15 22:02:43 -0700 |
---|---|---|
committer | Andrew Arnott <andrewarnott@gmail.com> | 2011-08-15 22:02:43 -0700 |
commit | cabe9ad70ef14f86088e482b129c54c18c06d276 (patch) | |
tree | 281bd842778d612e094bb9177dea676a9104ec3b /src/DotNetOpenAuth.Messaging/Configuration/ReportingElement.cs | |
parent | 890bf0c250bdcb57c48e8121f8308e8bdd045cb6 (diff) | |
download | DotNetOpenAuth-cabe9ad70ef14f86088e482b129c54c18c06d276.zip DotNetOpenAuth-cabe9ad70ef14f86088e482b129c54c18c06d276.tar.gz DotNetOpenAuth-cabe9ad70ef14f86088e482b129c54c18c06d276.tar.bz2 |
Fixed a bug in configuration section handling that caused even simple unit tests to fail.
Diffstat (limited to 'src/DotNetOpenAuth.Messaging/Configuration/ReportingElement.cs')
-rw-r--r-- | src/DotNetOpenAuth.Messaging/Configuration/ReportingElement.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/DotNetOpenAuth.Messaging/Configuration/ReportingElement.cs b/src/DotNetOpenAuth.Messaging/Configuration/ReportingElement.cs index a8eb7d3..4011ba5 100644 --- a/src/DotNetOpenAuth.Messaging/Configuration/ReportingElement.cs +++ b/src/DotNetOpenAuth.Messaging/Configuration/ReportingElement.cs @@ -77,7 +77,7 @@ namespace DotNetOpenAuth.Configuration { public static ReportingElement Configuration { get { Contract.Ensures(Contract.Result<ReportingElement>() != null); - return (ReportingElement)ConfigurationManager.GetSection(ReportingElementName) ?? new ReportingElement(); + return (ReportingElement)DotNetOpenAuthSection.Configuration.Sections[ReportingElementName] ?? new ReportingElement(); } } |