Manchester United boss David Moyes has revealed striker Wayne Rooney sustained his hamstring injury before travelling to Asia.