mirror of
https://github.com/friendica/friendica
synced 2025-04-22 13:50:12 +00:00
Move xml_status and http_status_exit
move functions
This commit is contained in:
parent
a32ba32ff4
commit
cd3643d174
18 changed files with 87 additions and 85 deletions
|
@ -4,6 +4,7 @@ namespace Friendica\Module;
|
|||
|
||||
use Friendica\BaseModule;
|
||||
use Friendica\Protocol\OStatus;
|
||||
use Friendica\Util\Network;
|
||||
|
||||
/**
|
||||
* Provides public Atom feeds
|
||||
|
@ -31,7 +32,7 @@ class Feed extends BaseModule
|
|||
$nocache = x($_GET, 'nocache') && local_user();
|
||||
|
||||
if ($a->argc < 2) {
|
||||
http_status_exit(400);
|
||||
Network::httpStatusExit(400);
|
||||
}
|
||||
|
||||
$type = null;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue