X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=mod%2Fupdate_network.php;h=aafc0e22f41497fed7cc8ea06f1ef0b26b9516c3;hb=8eeb7807d3cf7c0490299b7540ca06f4d091217c;hp=9c89d1fcdd6b7bacf244e2533b7078faecfad3d2;hpb=f9d2fedaa33c1c7b1fbb073c2e4f557755252ae2;p=friendica.git diff --git a/mod/update_network.php b/mod/update_network.php index 9c89d1fcdd..aafc0e22f4 100644 --- a/mod/update_network.php +++ b/mod/update_network.php @@ -1,48 +1,44 @@ . + * * See update_profile.php for documentation */ use Friendica\App; -use Friendica\Core\L10n; -use Friendica\Core\PConfig; +use Friendica\Core\System; +use Friendica\DI; require_once "mod/network.php"; function update_network_content(App $a) { - if (empty($_GET['p']) || empty($_GET['item'])) { - killme(); + if (!isset($_GET['p']) || !isset($_GET['item'])) { + exit(); } $profile_uid = intval($_GET['p']); $parent = intval($_GET['item']); - header("Content-type: text/html"); - echo "
\r\n"; - echo "