diff options
| author | Bond_009 <bond.009@outlook.com> | 2019-01-02 12:14:31 +0100 |
|---|---|---|
| committer | Vasily <JustAMan@users.noreply.github.com> | 2019-01-02 17:58:44 +0300 |
| commit | 3a65fb1da2009df246ae6f1252d44d24e882e554 (patch) | |
| tree | 6119f2818c78b9c60a889650637197536ba40c9a /MediaBrowser.Common/Extensions/BaseExtensions.cs | |
| parent | f3030812ea8f79d4878a158695df0eb8a741b1e7 (diff) | |
Remove obsolete GetMBId
Diffstat (limited to 'MediaBrowser.Common/Extensions/BaseExtensions.cs')
| -rw-r--r-- | MediaBrowser.Common/Extensions/BaseExtensions.cs | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/MediaBrowser.Common/Extensions/BaseExtensions.cs b/MediaBrowser.Common/Extensions/BaseExtensions.cs index d7f4424fa..520c04244 100644 --- a/MediaBrowser.Common/Extensions/BaseExtensions.cs +++ b/MediaBrowser.Common/Extensions/BaseExtensions.cs @@ -34,25 +34,5 @@ namespace MediaBrowser.Common.Extensions { return CryptographyProvider.GetMD5(str); } - - /// <summary> - /// Gets the MB id. - /// </summary> - /// <param name="str">The STR.</param> - /// <param name="type">The type.</param> - /// <returns>Guid.</returns> - /// <exception cref="System.ArgumentNullException">type</exception> - [Obsolete("Use LibraryManager.GetNewItemId")] - public static Guid GetMBId(this string str, Type type) - { - if (type == null) - { - throw new ArgumentNullException("type"); - } - - var key = type.FullName + str.ToLower(); - - return key.GetMD5(); - } } } |
