mirror of
https://github.com/neocities/neocities.git
synced 2025-07-03 17:43:21 +02:00
news feed: confirm before removal of event
This commit is contained in:
parent
5adef9adb9
commit
b5ca5f0bc9
2 changed files with 25 additions and 1 deletions
|
@ -107,4 +107,12 @@ class Event < Sequel::Model
|
|||
true
|
||||
end
|
||||
end
|
||||
|
||||
def name
|
||||
return 'follow' if follow_id
|
||||
return 'tip' if tip_id
|
||||
return 'tag' if tag_id
|
||||
return 'site change' if site_change_id
|
||||
return 'comment' if profile_comment_id
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue