mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-07-09 03:04:24 -04:00
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");
|
throw new ArgumentNullException("target");
|
||||||
}
|
}
|
||||||
|
|
||||||
if (string.IsNullOrEmpty(shortcutPath))
|
|
||||||
{
|
|
||||||
throw new ArgumentNullException("shortcutPath");
|
|
||||||
}
|
|
||||||
|
|
||||||
if (string.IsNullOrEmpty(target))
|
|
||||||
{
|
|
||||||
throw new ArgumentNullException("target");
|
|
||||||
}
|
|
||||||
|
|
||||||
File.WriteAllText(shortcutPath, target);
|
File.WriteAllText(shortcutPath, target);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user