ChangeSet ID: 31202 CVSROOT: /opt/cvs-commit Module name: appdb Changes by: wineowner@winehq.org 2007/06/14 23:54:57
Modified files: cron : cleanup.php
Log message: Chris Morgan cmorgan@alum.wpi.edu Assign the admin user to $SESSION['current']
Patch: http://cvs.winehq.org/patch.py?id=31202
Old revision New revision Changes Path 1.41 1.42 +1 -0 appdb/cron/cleanup.php
Index: appdb/cron/cleanup.php diff -u -p appdb/cron/cleanup.php:1.41 appdb/cron/cleanup.php:1.42 --- appdb/cron/cleanup.php:1.41 15 Jun 2007 4:54:57 -0000 +++ appdb/cron/cleanup.php 15 Jun 2007 4:54:57 -0000 @@ -319,6 +319,7 @@ function removeScreenshotsWithMissingFil // access to delete these screenshots $oUser = new User(); $oUser->iUserId = 1000; + $_SESSION['current'] = $oUser;
// remove the screenshots with missing files foreach($aMissingScreenshotIds as $iScreenshotId)