mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-12-23 17:24:46 +03:00
Removed code that was duplicated on top of itself.
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user