ChangeSet ID: 31198 CVSROOT: /opt/cvs-commit Module name: appdb Changes by: wineowner(a)winehq.org 2007/06/14 23:10:00 Modified files: cron : cleanup.php Log message: Chris Morgan <cmorgan(a)alum.wpi.edu> Re-enable screenshot purging to see how it works now that we've got the reported list Patch: http://cvs.winehq.org/patch.py?id=31198 Old revision New revision Changes Path 1.38 1.39 +5 -5 appdb/cron/cleanup.php Index: appdb/cron/cleanup.php diff -u -p appdb/cron/cleanup.php:1.38 appdb/cron/cleanup.php:1.39 --- appdb/cron/cleanup.php:1.38 15 Jun 2007 4:10: 0 -0000 +++ appdb/cron/cleanup.php 15 Jun 2007 4:10: 0 -0000 @@ -315,10 +315,10 @@ function removeScreenshotsWithMissingFil 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 + } } ?>