From 702942ed7ea44fbe79b2fa4828fde74e09f9a6ed Mon Sep 17 00:00:00 2001 From: Daniel Valadas Date: Sun, 12 Jul 2020 21:50:05 -0400 Subject: [PATCH] Fixes 2 wrong merged conflicts resolutions That prevented the buid from running --- .../Services/FileSystem/FileManager.cs | 70 +++++++++---------- .../Services/FileSystem/IFileManager.cs | 17 +++-- 2 files changed, 43 insertions(+), 44 deletions(-) diff --git a/DNN Platform/Library/Services/FileSystem/FileManager.cs b/DNN Platform/Library/Services/FileSystem/FileManager.cs index e9042d80ec1..cc7ddbc7682 100644 --- a/DNN Platform/Library/Services/FileSystem/FileManager.cs +++ b/DNN Platform/Library/Services/FileSystem/FileManager.cs @@ -4,39 +4,41 @@ namespace DotNetNuke.Services.FileSystem { -using System; -using System.Collections.Generic; -using System.Drawing; -using System.Drawing.Imaging; -using System.Globalization; -using System.IO; -using System.Linq; -using System.Security.Cryptography; -using System.Text; -using System.Text.RegularExpressions; -using System.Web; -using DotNetNuke.Common; -using DotNetNuke.Common.Internal; -using DotNetNuke.Common.Lists; -using DotNetNuke.Common.Utilities; -using DotNetNuke.ComponentModel; -using DotNetNuke.Data; -using DotNetNuke.Entities; -using DotNetNuke.Entities.Content; -using DotNetNuke.Entities.Content.Common; -using DotNetNuke.Entities.Content.Taxonomy; -using DotNetNuke.Entities.Content.Workflow; -using DotNetNuke.Entities.Content.Workflow.Entities; -using DotNetNuke.Entities.Controllers; -using DotNetNuke.Entities.Host; -using DotNetNuke.Entities.Portals; -using DotNetNuke.Entities.Users; -using DotNetNuke.Instrumentation; -using DotNetNuke.Security.Permissions; -using DotNetNuke.Services.FileSystem.EventArgs; -using DotNetNuke.Services.FileSystem.Internal; -using DotNetNuke.Services.Log.EventLog; -using ICSharpCode.SharpZipLib.Zip; + using System; + using System.Collections.Generic; + using System.Drawing; + using System.Drawing.Imaging; + using System.Globalization; + using System.IO; + using System.Linq; + using System.Security.Cryptography; + using System.Text; + using System.Text.RegularExpressions; + using System.Web; + using DotNetNuke.Common; + using DotNetNuke.Common.Internal; + using DotNetNuke.Common.Lists; + using DotNetNuke.Common.Utilities; + using DotNetNuke.ComponentModel; + using DotNetNuke.Data; + using DotNetNuke.Entities; + using DotNetNuke.Entities.Content; + using DotNetNuke.Entities.Content.Common; + using DotNetNuke.Entities.Content.Taxonomy; + using DotNetNuke.Entities.Content.Workflow; + using DotNetNuke.Entities.Content.Workflow.Entities; + using DotNetNuke.Entities.Controllers; + using DotNetNuke.Entities.Host; + using DotNetNuke.Entities.Portals; + using DotNetNuke.Entities.Users; + using DotNetNuke.Instrumentation; + using DotNetNuke.Security.Permissions; + using DotNetNuke.Services.FileSystem.EventArgs; + using DotNetNuke.Services.FileSystem.Internal; + using DotNetNuke.Services.Log.EventLog; + using ICSharpCode.SharpZipLib.Zip; + + using Localization = DotNetNuke.Services.Localization.Localization; /// /// Exposes methods to manage files. @@ -2042,6 +2044,4 @@ private string UpdateWhileApproving(IFolderInfo folder, int createdByUserID, IFi "File locked. The file cannot be updated because it has a running workflow")); } } - - using Localization = DotNetNuke.Services.Localization.Localization; } diff --git a/DNN Platform/Library/Services/FileSystem/IFileManager.cs b/DNN Platform/Library/Services/FileSystem/IFileManager.cs index 12ccbd14e14..6b19ad1401d 100644 --- a/DNN Platform/Library/Services/FileSystem/IFileManager.cs +++ b/DNN Platform/Library/Services/FileSystem/IFileManager.cs @@ -1,15 +1,16 @@ -// -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the MIT License. See LICENSE file in the project root for full license information. -// -using DotNetNuke.Common.Utilities; -// Licensed to the .NET Foundation under one or more agreements. +// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information + namespace DotNetNuke.Services.FileSystem { -using System; + using System; + using System.Collections.Generic; + using System.IO; + + using DotNetNuke.Common.Utilities; + /// /// Do not implement. This interface is meant for reference and unit test purposes only. /// There is no guarantee that this interface will not change. @@ -282,6 +283,4 @@ public interface IFileManager /// FileExtensionWhitelist WhiteList { get; } } -using System.Collections.Generic; -using System.IO; }