PrestaShop/PrestaShop — pull request #1188 by neemzy (2013-12-27 15:29:52+00:00)
Title: [*] MO : blocknewsletter - refactored (un)subscribe process

- Added an `unregister` method (mirrorring the existant `register` method) to factorize unsubscription process and avoid code duplication
- Partially rewrote `newsletterRegistration` accordingly
- Also refactored the subscription part of the same method to avoid code duplication as well