aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjmarshallnz <jcmarsha@gmail.com>2014-02-18 11:45:42 +1300
committerjmarshallnz <jcmarsha@gmail.com>2014-02-18 11:45:42 +1300
commit6e16f0f5cf2d0081e4095c5a650ffa475fc76c0a (patch)
treebbdc1cf79380a0943e1f8768013e80515d1adad3
parent282fc493f6d6b472a4ae85c74f93fe80188bf565 (diff)
parent8f8b9c18ab091ec012268a19646ac8194e78fc14 (diff)
Merge pull request #4225 from cg110/Ticket-14940-
Fix for ticket 14940
-rw-r--r--xbmc/video/VideoDatabase.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/xbmc/video/VideoDatabase.cpp b/xbmc/video/VideoDatabase.cpp
index 003fc5f02d..2db5c2d5cf 100644
--- a/xbmc/video/VideoDatabase.cpp
+++ b/xbmc/video/VideoDatabase.cpp
@@ -2865,6 +2865,9 @@ void CVideoDatabase::DeleteMovie(const CStdString& strFilenameAndPath, bool bKee
strSQL=PrepareSQL("delete from countrylinkmovie where idMovie=%i", idMovie);
m_pDS->exec(strSQL.c_str());
+ strSQL=PrepareSQL("delete from writerlinkmovie where idMovie=%i", idMovie);
+ m_pDS->exec(strSQL.c_str());
+
DeleteStreamDetails(GetFileId(strFilenameAndPath));
// keep the movie table entry, linking to tv shows, and bookmarks