diff options
author | Martijn Kaijser <martijn@xbmc.org> | 2015-02-16 15:09:35 +0100 |
---|---|---|
committer | Martijn Kaijser <martijn@xbmc.org> | 2015-02-16 15:09:35 +0100 |
commit | 38dee6d1bd794c3cd6614aac7081db3dee77d285 (patch) | |
tree | db5ee92d8c148677544290ce92149195d2174d5a | |
parent | 25ca7b58c9205126ef795598def622298b74ae0e (diff) | |
parent | 67b115d88ccd1058208236b7c678349c40b9ab4d (diff) |
Merge pull request #6451 from mkortstiege/helix_obsolete_hash
[dialogvideoinfo] removed obsolete path invalidation code
-rw-r--r-- | xbmc/video/dialogs/GUIDialogVideoInfo.cpp | 13 |
1 files changed, 1 insertions, 12 deletions
diff --git a/xbmc/video/dialogs/GUIDialogVideoInfo.cpp b/xbmc/video/dialogs/GUIDialogVideoInfo.cpp index 626993695c..02b42e8715 100644 --- a/xbmc/video/dialogs/GUIDialogVideoInfo.cpp +++ b/xbmc/video/dialogs/GUIDialogVideoInfo.cpp @@ -1224,21 +1224,10 @@ bool CGUIDialogVideoInfo::DeleteVideoItemFromDatabase(const CFileItemPtr &item, break; case VIDEODB_CONTENT_MOVIE_SETS: database.DeleteSet(item->GetVideoInfoTag()->m_iDbId); - return true; // no need to invalidate path hashes + break; default: return false; } - - CStdString path; - database.GetFilePathById(item->GetVideoInfoTag()->m_iDbId, path, type); - if (!path.empty()) - { - if (type == VIDEODB_CONTENT_TVSHOWS) - database.SetPathHash(path,""); - else - database.SetPathHash(URIUtils::GetDirectory(path), ""); - } - return true; } |