X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=mod%2Fupdate_network.php;h=1bf374657573b5785e38622f0b716ff8bfcffd7b;hb=41fe07e12821a25e3ad8279abc5344b8bbe011ab;hp=65366d13776b9554c9f05f0491c6b88cd4cd325e;hpb=829a92a10e219e1e3d8638945e5cf48af62f4483;p=friendica.git diff --git a/mod/update_network.php b/mod/update_network.php index 65366d1377..1bf3746575 100644 --- a/mod/update_network.php +++ b/mod/update_network.php @@ -11,14 +11,11 @@ function update_network_content(&$a) { header("Content-type: text/html"); echo "\r\n"; - echo (($_GET['msie'] == 1) ? '
' : '
'); + echo "
"; - $no_auto_update = get_pconfig($profile_uid, "system", "no_auto_update"); - if ($no_auto_update <= 0) { + if (!get_pconfig($profile_uid, "system", "no_auto_update") OR ($_GET['force'] == 1)) $text = network_content($a,$profile_uid); - if ($no_auto_update < 0) - set_pconfig($profile_uid, "system", "no_auto_update", 1); - } else + else $text = ""; $pattern = "/]*) src=\"([^\"]*)\"/"; @@ -37,7 +34,7 @@ function update_network_content(&$a) { echo str_replace("\t",' ',$text); - echo (($_GET['msie'] == 1) ? '
' : ''); + echo ""; echo "\r\n"; killme();