Collecting every piece of enemy Intel in Call of Duty: Modern Warfare 2 doesn't change the campaign or unlock a secret ending — that part of the original answer was wrong. What it does do is unlock cheats for the single-player campaign.
You do need to finish the campaign first before those cheats become usable, which is why a lot of players never notice them. They're a completionist reward rather than something that helps you on the way through.