BUGFIX: Fixed the run as user permission check in situations where there was no logged in user & it wasn't being run via the CLI. MINOR: Replaced custom CLI detection with Director::is_cli().
BUGFIX: Fixed the run as user permission check in situations where there was no logged in user & it wasn't being run via the CLI.
MINOR: Replaced custom CLI detection with Director::is_cli().
andrewandante/silverstripe-queuedjobs,nyeholt/silverstripe-queuedjobs,silverstripe-australia/silverstripe-queuedjobs,open-sausages/silverstripe-queuedjobs,souldigital/silverstripe-queuedjobs,andrewandante/silverstripe-queuedjobs,open-sausages/silverstripe-queuedjobs,nyeholt/silverstripe-queuedjobs,mattclegg/silverstripe-queuedjobs,mattclegg/silverstripe-queuedjobs,souldigital/silverstripe-queuedjobs,silverstripe-australia/silverstripe-queuedjobs