Doesn't look like there was much glue there in the first place. I always use primer when, on the rare occasion, I use flex pipe. Not sure why flex was used beyond the fact that it is easy to work with or maybe there is a reason for its use in NJ. You can get small quantities of BLUE glue and primer at Home Depot. Should be an easy repair.