mirror of
https://git.sekbaer.de/Friendica/friendica.git
synced 2025-06-17 04:15:15 +02:00
Move functions to system
move some functions to system
This commit is contained in:
parent
f04d40a37e
commit
9b8599b619
21 changed files with 169 additions and 169 deletions
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue