File tree Expand file tree Collapse file tree 1 file changed +4
-6
lines changed
src/Libraries/SmartStore.Services/Media Expand file tree Collapse file tree 1 file changed +4
-6
lines changed Original file line number Diff line number Diff line change 1
1
using System ;
2
2
using System . Collections . Generic ;
3
+ using System . Data . Entity ;
3
4
using System . IO ;
4
5
using System . Linq ;
5
- using System . Linq . Expressions ;
6
6
using System . Linq . Dynamic . Core ;
7
- using SmartStore . Core . Data ;
8
- using SmartStore . Core . Domain . Media ;
9
7
using System . Runtime . CompilerServices ;
10
8
using SmartStore . Collections ;
11
- using SmartStore . Core . Localization ;
12
- using System . Data . Entity ;
9
+ using SmartStore . Core . Data ;
10
+ using SmartStore . Core . Domain . Media ;
13
11
14
12
namespace SmartStore . Services . Media
15
13
{
@@ -31,7 +29,7 @@ public MediaFolderInfo CreateFolder(string path)
31
29
ValidateFolderPath ( path , "CreateFolder" , nameof ( path ) ) ;
32
30
33
31
var dupe = _folderService . GetNodeByPath ( path ) ;
34
- if ( dupe ) ! = null )
32
+ if ( dupe != null )
35
33
{
36
34
throw _exceptionFactory . DuplicateFolder ( path , dupe . Value ) ;
37
35
}
You can’t perform that action at this time.
0 commit comments