Skip to content

Commit

Permalink
Cleanup classes that create ProjectLogEntries
Browse files Browse the repository at this point in the history
PLEs belong to a project so it makes not much sense to track
creation/deletion of Projects with PLEs.

Don't know what Event::Upload is. No events or PLEs like
that in production, we also show this nowhere.
  • Loading branch information
hennevogel committed Dec 7, 2018
1 parent d622b0c commit 6ba6f2a
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/api/app/models/event.rb
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
module Event
PROJECT_CLASSES = ['Event::CommentForProject',
'Event::CreateProject',
'Event::DeleteProject',
'Event::UndeleteProject',
'Event::UpdateProjectConfig',
'Event::UpdateProject'].freeze
PACKAGE_CLASSES = ['Event::BranchCommand',
Expand All @@ -16,6 +13,5 @@ module Event
'Event::ServiceSuccess',
'Event::UndeletePackage',
'Event::UpdatePackage',
'Event::Upload',
'Event::VersionChange'].freeze
end

0 comments on commit 6ba6f2a

Please sign in to comment.