Log group creation and removal
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
This commit is contained in:
parent
7bab4817f7
commit
47a95754de
1 changed files with 4 additions and 0 deletions
|
@ -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…
Reference in a new issue