Closed (fixed)
Project:
Subscriptions
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
6 Feb 2012 at 19:43 UTC
Updated:
7 Mar 2012 at 19:00 UTC
Jump to comment: Most recent file
Comments
Comment #1
damienmckennaPatch enclosed for D6.
Comment #2
salvisD7 first, please.
I'm not sure how useful that is, given that add-ons typically add functionality via hook_subscriptions(), but if it helps someone, then it's worth the (minor) trouble.
But please, do make it clear that you're subverting Subscriptions internals, and that support calls should go to you first...
Comment #3
damienmckennaD7 patch on the way.
My specific use case was that they wanted to remove the option of subscribing to individual content types, they only wanted people to subscribe to individual posts, so with the above patch I implemented it as follows:
Comment #4
salvisMakes sense, thanks you.
Comment #5
damienmckennaAn update that adds hook_subscriptions_queue_alter too.
Comment #6
salvisD7 first...
This causes a conflict. We already have hook_subscriptions_queue_alter().
Also, there's white space on the empty line below.
Comment #7
damienmckennaUpdated patch for D6 that renames the hook_subscriptions_list_alter to hook_subscriptions_queue_list_alter.
Comment #8
damienmckennaSimilar patch for D7.
Comment #9
salvisIt was hook_subscriptions_queue_alter() that caused the conflict. I prefer hook_subscriptions_queue_query_alter() — "list" does not make sense in this context.
Pushed to both -dev versions, thanks!
Comment #10
damienmckennaBlah, I changed the right one but explained it incorrectly. Thanks for committing it.