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
|
@ -11,7 +11,6 @@ use Friendica\Model\Contact;
|
|||
use Friendica\Model\Group;
|
||||
use Friendica\Model\Profile;
|
||||
use Friendica\Protocol\DFRN;
|
||||
use Friendica\Util\Network;
|
||||
|
||||
function display_init(App $a)
|
||||
{
|
||||
|
@ -424,7 +423,7 @@ function display_content(App $a, $update = false, $update_uid = 0) {
|
|||
function displayShowFeed($item_id, $conversation) {
|
||||
$xml = DFRN::itemFeed($item_id, $conversation);
|
||||
if ($xml == '') {
|
||||
Network::httpStatusExit(500);
|
||||
System::httpExit(500);
|
||||
}
|
||||
header("Content-type: application/atom+xml");
|
||||
echo $xml;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue