Skip to content
Snippets Groups Projects
Verified Commit 47a95754 authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets
Browse files

Log group creation and removal

parent 7bab4817
No related branches found
No related tags found
1 merge request!9354Fix group remove [For test purposes]
Loading
Loading
@@ -101,10 +101,14 @@ class Group < Namespace
end
 
def post_create_hook
Gitlab::AppLogger.info("Group \"#{name}\" was created")
system_hook_service.execute_hooks_for(self, :create)
end
 
def post_destroy_hook
Gitlab::AppLogger.info("Group \"#{name}\" was removed")
system_hook_service.execute_hooks_for(self, :destroy)
end
 
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment