Permalink
Browse files

Merge pull request #4225 from cg110/Ticket-14940-

Fix for ticket 14940
  • Loading branch information...
2 parents 282fc49 + 8f8b9c1 commit 6e16f0f5cf2d0081e4095c5a650ffa475fc76c0a @jmarshallnz jmarshallnz committed Feb 17, 2014
Showing with 3 additions and 0 deletions.
  1. +3 −0 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

0 comments on commit 6e16f0f

Please sign in to comment.