Revert "Fixed gallery import"

This reverts commit a4abe5feefed2245210ea7de589a97816e264fec.
Restore delayed job for import photos into galleries