Enables LMS to handle deprecated URLs

LMS-2651
what is being disabled on this line? I think this can be removed - it's not prsent at L24.

Similarly the one at L48 can be removed.