X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;ds=sidebyside;f=mod%2Fupdate_network.php;h=3a5741f6ac0629bdd91b38800aab3470b471e9f5;hb=0b5f7da270bcaa679cb684dbbbbe40781f0b49c6;hp=258d03e3227e80b35183ab2dcc92edfd961d8bbb;hpb=4fdced1a0a9949cd49cb645bc5ac0948e9ce408a;p=friendica.git diff --git a/mod/update_network.php b/mod/update_network.php index 258d03e322..3a5741f6ac 100644 --- a/mod/update_network.php +++ b/mod/update_network.php @@ -2,18 +2,20 @@ // See update_profile.php for documentation -require_once("mod/network.php"); -require_once("include/group.php"); +use Friendica\App; +use Friendica\Core\PConfig; -function update_network_content(&$a) { +require_once "mod/network.php"; +function update_network_content(App $a) +{ $profile_uid = intval($_GET["p"]); header("Content-type: text/html"); echo "
\r\n"; echo "