Closed (fixed)
Project:
Notifications Add-ons
Version:
6.x-2.x-dev
Component:
Custom subscriptions
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
8 Jul 2009 at 22:23 UTC
Updated:
16 Feb 2010 at 15:10 UTC
Jump to comment: Most recent file
Comments
Comment #1
roball commented+1
Just like the "Add subscription for selected users" Update option on admin/user/user, there should also be something like "Remove subscription for selected users".
Comment #2
danepowell commentedIf it wasn't clear by now, I in fact do not have the time to take care of this, so don't wait on me :)
Comment #3
danepowell commentedActually, the code for this already seems to exist or was added since this issue was created. There was just a conditional keeping it from showing up in the UI. I can't tell what the purpose of the conditional was, so I removed it. If no one objects to this, I'll commit the changes in a few days/weeks.
Comment #4
roball commentedPatch works - now at admin/messaging/customsubs/csid/[CSID]/edit there is also a [ Delete ] button (in addition to the buttons [ Save ] and [ Reset to defaults ]).
However, the [ Delete ] and [ Reset to defaults ] buttons also appear at admin/messaging/customsubs/new, where only the [ Save ] button should be.
Comment #5
stmind commentedHi,
The actual problem was just that the logic of the conditional Dane mentioned was reversed. The "Delete" button was showing on the "new" form, and the "Reset to defaults" was showing on the "edit" form. Reversing the if/else block solves the problem and subscriptions can be deleted.
Updated patch attached. Would appreciate someone's test.
Comment #6
eft commentedthis patch worked for me - thanks
Comment #7
danepowell commentedComment #8
roball commentedCan confirm that Notifications Add-ons 6.x-2.x-dev (2010-Feb-02) works fine on this.
At admin/messaging/customsubs/csid/[CSID]/edit there are now the buttons [ Save ] and [ Delete ], and at admin/messaging/customsubs/new there are the buttons [ Save ] and [ Reset to defaults ].
Thanks for fixing this!