diff options
author | Valery Sizov <valery@gitlab.com> | 2015-12-22 17:15:25 +0200 |
---|---|---|
committer | Valery Sizov <vsv2711@gmail.com> | 2015-12-22 23:12:23 +0200 |
commit | e5eb700d5e8d561dc8a7ff3d35f5a8c867c4e19b (patch) | |
tree | 5d726286bc93015dff42ea8ae459f221203b028b /lib/award_emoji.rb | |
parent | dfd76c33d975259ea4e0ac5554520d1f7ed1ca4b (diff) | |
download | gitlab-ce-e5eb700d5e8d561dc8a7ff3d35f5a8c867c4e19b.tar.gz |
emoji picker: minor fixes
Diffstat (limited to 'lib/award_emoji.rb')
-rw-r--r-- | lib/award_emoji.rb | 8 |
1 files changed, 0 insertions, 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 |