Re-enable screenshot purging to see how it works now that we've got the reported list
This commit is contained in:
@@ -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
|
||||
}
|
||||
}
|
||||
?>
|
||||
|
||||
Reference in New Issue
Block a user