File tree Expand file tree Collapse file tree 1 file changed +13
-13
lines changed
eFormAPI/Installation/CustomActions Expand file tree Collapse file tree 1 file changed +13
-13
lines changed Original file line number Diff line number Diff line change @@ -656,23 +656,23 @@ private static void AddImageHandlers(string siteName)
656656
657657 ConfigurationSection handlersSection = config . GetSection ( "system.webServer/handlers" ) ;
658658 ConfigurationElementCollection handlersCollection = handlersSection . GetCollection ( ) ;
659- bool pngHandlerMissing = true ;
660- bool jpgHandlerMissing = true ;
661- bool jpegHandlerMissing = true ;
662- ConfigurationElement toRemoveCe = null ;
659+ // bool pngHandlerMissing = true;
660+ // bool jpgHandlerMissing = true;
661+ // bool jpegHandlerMissing = true;
662+ // ConfigurationElement toRemoveCe = null;
663663
664664 List < ConfigurationElement > toRemoveElements = new List < ConfigurationElement > ( ) ;
665665
666- // foreach (ConfigurationElement ce in handlersCollection)
667- // {
668- // toRemoveElements.Add(ce);
669- // }
666+ foreach ( ConfigurationElement ce in handlersCollection )
667+ {
668+ toRemoveElements . Add ( ce ) ;
669+ }
670670
671- // foreach (ConfigurationElement ce in toRemoveElements)
672- // {
673- // handlersCollection.Remove(ce);
674- // }
675- handlersCollection . Clear ( ) ;
671+ foreach ( ConfigurationElement ce in toRemoveElements )
672+ {
673+ handlersCollection . Remove ( ce ) ;
674+ }
675+ // handlersCollection.Clear();
676676
677677 try
678678 {
You can’t perform that action at this time.
0 commit comments