X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2FContent%2FSmilies.php;h=411f03b463f0204573b6e28df8d104438d452230;hb=65b86fe0d556829c09e8c8f5c707b868ad37dfe1;hp=1dd40e1631bf13e5d4adf3acc379464d501f7eeb;hpb=af88c2daa34e39cb6430abf64d0648665bfeb9cd;p=friendica.git
diff --git a/src/Content/Smilies.php b/src/Content/Smilies.php
index 1dd40e1631..411f03b463 100644
--- a/src/Content/Smilies.php
+++ b/src/Content/Smilies.php
@@ -1,20 +1,26 @@
.
*
- * Have also a look here:
- * https://www.webpagefx.com/tools/emoji-cheat-sheet/
*/
+
namespace Friendica\Content;
-use Friendica\Core\Config;
use Friendica\Core\Hook;
use Friendica\DI;
use Friendica\Util\Strings;
@@ -136,7 +142,7 @@ class Smilies
'
',
'
',
'
',
- '~friendica
',
+ '~friendica
',
'red
matrix',
'red
matrix'
];
@@ -207,7 +213,7 @@ class Smilies
*/
public static function replaceFromArray($text, array $smilies, $no_images = false)
{
- if (intval(Config::get('system', 'no_smilies'))
+ if (intval(DI::config()->get('system', 'no_smilies'))
|| (local_user() && intval(DI::pConfig()->get(local_user(), 'system', 'no_smilies')))
) {
return $text;