Fixes #5518 - Repository.enabled no longer exists
Merge pull request #4024 from daviddavis/temp/20140430113444

Fixes #5518 - Repository.enabled no longer exists