From 4c0c153b8f23a2e6cbd037591af982232cb77989 Mon Sep 17 00:00:00 2001 From: zotlabs Date: Sun, 5 Mar 2017 16:18:09 -0800 Subject: move emoji emoticons (not reactions) to plugin --- include/text.php | 14 -------------- 1 file changed, 14 deletions(-) (limited to 'include') diff --git a/include/text.php b/include/text.php index c68bd3591..9d76f9d78 100644 --- a/include/text.php +++ b/include/text.php @@ -1224,20 +1224,6 @@ function list_smilies() { ); - $x = get_config('feature','emoji'); - if($x === false) - $x = 1; - if($x) { - if(! App::$emojitab) - App::$emojitab = json_decode(file_get_contents('library/emoji.json'),true); - foreach(App::$emojitab as $e) { - if(strpos($e['shortname'],':tone') === 0) - continue; - $texts[] = $e['shortname']; - $icons[] = '' . $e['name'] . ''; - } - } - $params = array('texts' => $texts, 'icons' => $icons); call_hooks('smilie', $params); -- cgit v1.2.3