From ed7591f7b8c55498e3e38be41cc049a92b9fe4a6 Mon Sep 17 00:00:00 2001
From: Douglas Barbosa Alexandre <dbalexandre@gmail.com>
Date: Thu, 13 Oct 2016 19:05:07 -0300
Subject: [PATCH] Remove unused method Issuable#remove_labels

---
 app/models/concerns/issuable.rb | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/app/models/concerns/issuable.rb b/app/models/concerns/issuable.rb
index fee68d9cc8f..0b57e318662 100644
--- a/app/models/concerns/issuable.rb
+++ b/app/models/concerns/issuable.rb
@@ -230,10 +230,6 @@ module Issuable
     labels.order('title ASC').pluck(:title)
   end
 
-  def remove_labels
-    labels.delete_all
-  end
-
   def add_labels_by_names(label_names, current_user)
     available_labels = LabelsFinder.new(current_user, project_id: project.id).execute
 
-- 
GitLab