Closed (fixed)
Project:
Simplenews
Version:
7.x-1.x-dev
Component:
Code
Priority:
Major
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
6 Feb 2012 at 01:08 UTC
Updated:
21 Feb 2012 at 12:40 UTC
Jump to comment: Most recent file
Comments
Comment #1
berdirThe attached patch cleans this up a bit and also adds tests to actually verify that subscribe/unsubscribe works with single opt-in. The old code actually didn't have any useful assertions ;)
Note that the tests don't actually verify these changes. The only way to verify this would be to add a test module and implement those hooks, because that is the only way where the incomplete/wrong $subscriber object is actually available.
Comment #2
miro_dietikerLooks fine, consistent now. Thank you for fixing this.
Comment #3
berdirCommited.