Needs review
Project:
Notifications
Version:
7.x-1.x-dev
Component:
Code
Priority:
Critical
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
20 Sep 2012 at 12:39 UTC
Updated:
24 Nov 2018 at 21:53 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
jason.fisher commentedSame issue. I can't find the function anywhere?
Comment #2
riverole commentedHello.
I'm facing the same issue when trying to print a comment form. I was searching through internet and I find that the function in Drupal 6 was:
function notifications_ui_node_subscriptions($node, $display) {
if (notifications_ui_user_access() && notifications_ui_node_options($node->type, $display)) {
return notifications_ui_object_subscriptions('node', $node);
}
}
I searched through the Notifications module and the three functions that are used exists and are defined, so I just added this function to Notifications.ui.module. I know this means hacking the module and I will go to hell doing that, but I need this to work and it seems that this bug was not solved. I have no idea about the implications about these changes (I have not analyzed accurately how the module works and so on) and I'm still not so confident in order to make a "patch" so If anybody wants to do that, that would be great, sure. I not, and you don't matter to go to hell, just copy this to notifications.ui.module and be happy.
Comment #3
damienmckennaComment #4
jacob.embree commentedComment #5
jacob.embree commentedThere is a lot of code that was broken by e86557d75e3cdf88dbac056b9c46576db06caf76. This patch attempts to fix calls to
notifications_ui_node_subscriptionsand related things. Anything that depends onnotifications_ui_node_options()seems to be useless now.