Removed code that was duplicated on top of itself.
This commit is contained in:
parent
266498f92c
commit
2a491a76d2
|
@ -82,16 +82,6 @@ namespace MediaBrowser.Common.Implementations.IO
|
|||
throw new ArgumentNullException("target");
|
||||
}
|
||||
|
||||
if (string.IsNullOrEmpty(shortcutPath))
|
||||
{
|
||||
throw new ArgumentNullException("shortcutPath");
|
||||
}
|
||||
|
||||
if (string.IsNullOrEmpty(target))
|
||||
{
|
||||
throw new ArgumentNullException("target");
|
||||
}
|
||||
|
||||
File.WriteAllText(shortcutPath, target);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user