Move functions to system

move some functions to system
This commit is contained in:
Adam Magness 2018-01-27 11:59:10 -05:00
parent f04d40a37e
commit 9b8599b619
21 changed files with 169 additions and 169 deletions

View file

@ -4,7 +4,7 @@
*/
use Friendica\App;
use Friendica\Content\Smilies;
use Friendica\Util\Network;
use Friendica\Core\System;
/**
* @param object $a App
@ -18,7 +18,7 @@ function smilies_content(App $a)
for ($i = 0; $i < count($tmp['texts']); $i++) {
$results[] = ['text' => $tmp['texts'][$i], 'icon' => $tmp['icons'][$i]];
}
Network::jsonExit($results);
System::jsonExit($results);
} else {
return Smilies::replace('', true);
}