I just looked at this post and can second what Dave said. Upright rows are a terrible exercise for your shoulders. I gotta say I wouldn't be doing any flys either.
I have been nursing a shoulder impingement for about two years now and have learned the hard way the following are definite exercises not to do -
upright row
flys
db raises (if done need to be light and with very strict form)
Everyone will be different depending on the injury and the movement restrictions it places on your shoulder. I would be wary of any advice from the person that gave you that programme.
Google shoulder mobility wod and you will find so,me excellent rehab exercises.