Skip to content
Browse files

videodb: remove commented out code

  • Loading branch information...
1 parent db01cec commit 66a94443e467834c6cbfc35d271df1ca12a56311 @Montellese Montellese committed Nov 4, 2013
Showing with 0 additions and 3 deletions.
  1. +0 −3 xbmc/video/VideoDatabase.cpp
View
3 xbmc/video/VideoDatabase.cpp
@@ -1146,7 +1146,6 @@ int CVideoDatabase::AddMovie(const CStdString& strFilenameAndPath)
CStdString strSQL=PrepareSQL("insert into movie (idMovie, idFile) values (NULL, %i)", idFile);
m_pDS->exec(strSQL.c_str());
idMovie = (int)m_pDS->lastinsertid();
-// CommitTransaction();
}
return idMovie;
@@ -1200,8 +1199,6 @@ int CVideoDatabase::AddTvShow(const CStdString& strPath)
strSQL=PrepareSQL("insert into tvshowlinkpath values (%i,%i)",idTvShow,idPath);
m_pDS->exec(strSQL.c_str());
-// CommitTransaction();
-
return idTvShow;
}
catch (...)

0 comments on commit 66a9444

Please sign in to comment.
Something went wrong with that request. Please try again.