Browse files

Backport to fixes/0.24.

Fix delete and allow-rerecord when AutoExpireInsteadOfDelete is enabled.

When the forget history logic was moved to the backend to fix a race
condition, the AutoExpireInsteadOfDelete case was not handled.

Fixes #9360.
  • Loading branch information...
1 parent 4e4653f commit 52f8df1d2259770da472f4d7608f9b22d59bb694 @gigem gigem committed Dec 13, 2010
Showing with 2 additions and 0 deletions.
  1. +2 −0 mythtv/programs/mythbackend/mainserver.cpp
@@ -2380,6 +2380,8 @@ void MainServer::DoHandleDeleteRecording(
recinfo.SaveAutoExpire(kDeletedAutoExpire, true);
if (recinfo.GetRecordingStatus() == rsRecording)
DoHandleStopRecording(recinfo, NULL);
+ if (forgetHistory)
+ recinfo.ForgetHistory();
QStringList outputlist( QString::number(0) );
SendResponse(pbssock, outputlist);

0 comments on commit 52f8df1

Please sign in to comment.