Needs work
Project:
Simplenews
Version:
7.x-2.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
10 Jan 2013 at 11:56 UTC
Updated:
11 Dec 2013 at 06:25 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
Patricia_W commentedThe alternative function appears to be simplenews_subscription_delete (without the _multiple)
I changed the callbacks in simplenews.admin.inc and simplenews.api.php and the error went away and the subscriber was deleted.
Comment #2
hitfactory commentedAnd the patch for 7.x-1.x-dev
Comment #3
berdirI don't think that works, that function receives a $conditions argument, not an array of id's as the operations callback receives.
The delete_multiple() function should be created.
Comment #4
hitfactory commentedYep. Ignore that nonsense in #2!
I thought I was using the 1.x. branch but didn't realize drush dl simplenews --dev had grabbed 2.x.
Anyways, here's another patch for 2.x.