......@@ -115,7 +115,7 @@ module ApplicationHelper
def emoji_autocomplete_source
# should be an array of strings
# so to_s can be called, because it is sufficient and to_json is too slow
Emoji::NAMES.to_s
Emoji.names.to_s
end
def ldap_enable?
......
......
......@@ -128,7 +128,7 @@ module Gitlab
#
# Returns boolean
def valid_emoji?(emoji)
Emoji::NAMES.include? emoji
Emoji.names.include? emoji
end
# Private: Dispatches to a dedicated processing method based on reference
......
......