From e5eb700d5e8d561dc8a7ff3d35f5a8c867c4e19b Mon Sep 17 00:00:00 2001 From: Valery Sizov Date: Tue, 22 Dec 2015 17:15:25 +0200 Subject: [PATCH] emoji picker: minor fixes --- lib/award_emoji.rb | 8 -------- 1 file changed, 8 deletions(-) diff --git a/lib/award_emoji.rb b/lib/award_emoji.rb index d3f98d2d7f0..3825f4650be 100644 --- a/lib/award_emoji.rb +++ b/lib/award_emoji.rb @@ -45,14 +45,6 @@ class AwardEmoji food_drink: "Food" }.with_indifferent_access - def self.positions_by_name(name) - emoji = emojis_json.find do |emoji| - emoji["short_names"].include?(name) - end - - [emoji["sheet_x"], emoji["sheet_y"]] - end - def self.normilize_emoji_name(name) ALIASES[name] || name end