scanned && (! $photo->duplicate) && (! $photo->remove) && ($x=$photo->moveable()) === TRUE) { Log::info(sprintf('%s: Need to Move [%s]',__METHOD__,$photo->id.'|'.serialize($x))); PhotoMove::dispatch($photo)->onQueue('move'); } }); // Any video saved, queue it to be moved. Video::saved(function($video) { if ($video->scanned AND ! $video->duplicate AND ! $video->remove AND ($x=$video->moveable()) === TRUE) { Log::info(sprintf('%s: Need to Move [%s]',__METHOD__,$video->id.'|'.serialize($x))); $this->dispatch((new VideoMove($video))->onQueue('move')); } }); } }