set/all/notify.rb in card-mod-follow-0.14.1 vs set/all/notify.rb in card-mod-follow-0.14.2
- old
+ new
@@ -5,10 +5,10 @@
event :silence_notifications, :initialize, when: :silence_notifications? do
@silent_change = true
end
def silence_notifications?
- !(Card::Env[:controller] || force_notifications)
+ !(Card::Env.controller || force_notifications)
end
event :notify_followers_after_save,
:integrate_with_delay, on: :save, when: :notable_change? do
notify_followers