2006-02-01 Chris Toshok <toshok@ximian.com>
authorChris Toshok <toshok@novell.com>
Wed, 1 Feb 2006 20:21:54 +0000 (20:21 -0000)
committerChris Toshok <toshok@novell.com>
Wed, 1 Feb 2006 20:21:54 +0000 (20:21 -0000)
* SiteMap.cs: use GetSection instead of GetWebApplicationSection.

svn path=/trunk/mcs/; revision=56419

mcs/class/System.Web/System.Web/ChangeLog
mcs/class/System.Web/System.Web/SiteMap.cs

index 330f894db8e4869cdaf370501930d74768971728..2e7198956a8a60155b500e16cb17b762054ccf68 100644 (file)
@@ -1,3 +1,7 @@
+2006-02-01  Chris Toshok  <toshok@ximian.com>
+
+       * SiteMap.cs: use GetSection instead of GetWebApplicationSection.
+
 2006-02-01  Chris Toshok  <toshok@ximian.com>
 
        * HttpApplication.cs: CONFIGURATION_2_0 => NET_2_0, and use
index d56586bc17c4011fd77e87d2b35b829cc3d82d1d..7b45c45f2b2a39741cf7a15315859c35561e0df4 100644 (file)
@@ -43,7 +43,7 @@ namespace System.Web {
                {
                        lock (locker) {
                                if (provider == null) {
-                                       SiteMapSection section = (SiteMapSection) WebConfigurationManager.GetWebApplicationSection ("system.web/siteMap");
+                                       SiteMapSection section = (SiteMapSection) WebConfigurationManager.GetSection ("system.web/siteMap");
                                        providers = new SiteMapProviderCollection ();
                                        
                                        if (section.Enabled) {