uploadsCtx->uploadsData->getUploads(expired: true, deleted: false); foreach($expired as $uploadInfo) $eeprom->uploadsCtx->uploadsData->deleteUpload($uploadInfo); // Hard delete soft deleted files $deleted = $eeprom->uploadsCtx->uploadsData->getUploads(deleted: true); foreach($deleted as $uploadInfo) { $eeprom->uploadsCtx->deleteUploadData($uploadInfo); $eeprom->uploadsCtx->uploadsData->nukeUpload($uploadInfo); } // new storage format should store by hashes again, ensure blacklisted data is no longer saved } finally { sem_release($semaphore); }