mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
DEV: Apply syntax_tree formatting to lib/*
This commit is contained in:
@@ -28,12 +28,10 @@ class BookmarkReminderNotificationHandler
|
||||
|
||||
def clear_reminder
|
||||
Rails.logger.debug(
|
||||
"Clearing bookmark reminder for bookmark_id #{bookmark.id}. reminder at: #{bookmark.reminder_at}"
|
||||
"Clearing bookmark reminder for bookmark_id #{bookmark.id}. reminder at: #{bookmark.reminder_at}",
|
||||
)
|
||||
|
||||
if bookmark.auto_clear_reminder_when_reminder_sent?
|
||||
bookmark.reminder_at = nil
|
||||
end
|
||||
bookmark.reminder_at = nil if bookmark.auto_clear_reminder_when_reminder_sent?
|
||||
|
||||
bookmark.clear_reminder!
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user