Remove preferences migration code
Merge pull request #5429 from WebsiteDeveloper/remove-preferences-migration

Issue: #3217 Remove preferences migration code