Re-enable screenshot purging to see how it works now that we've got the reported list

This commit is contained in:
Chris Morgan
2007-06-15 04:10:00 +00:00
committed by WineHQ
parent 4078ad879f
commit 6f1ac4d074

View File

@@ -315,10 +315,10 @@ function removeScreenshotsWithMissingFiles()
mail_appdb($sEmail, $sSubject, $sMsg);
// remove the screenshots with missing files
// foreach($aMissingScreenshotIds as $iScreenshotId)
// {
// $oScreenshot = new Screenshot($iScreenshotId);
// $oScreenshot->delete(); // delete the screenshot
// }
foreach($aMissingScreenshotIds as $iScreenshotId)
{
$oScreenshot = new Screenshot($iScreenshotId);
$oScreenshot->delete(); // delete the screenshot
}
}
?>