deleteExpiredQueuedAssetGenerations task is run even if assetQueue feature not enabled

Description

The deleteExpiredQueuedAssetGenerations cleanup task calls a method which is dependent on objects created by the assetQueue feature, and so throws an error if the feature is not enabled.

The task should also be feature-flagged to the assetQueue feature.

Environment

None
Fixed

Assignee

Seb Duggan

Reporter

Seb Duggan

Accepted

Yes