X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=mod%2Fupdate_network.php;h=1bf374657573b5785e38622f0b716ff8bfcffd7b;hb=c73e93b19b192600053b7e680f1179cf27c615f4;hp=ff668ab353e0cbf4e20e3a0ae951e4eb78536474;hpb=2f89a9b3e8c8028ef9dd0bdc8cd8611e5d67903d;p=friendica.git
diff --git a/mod/update_network.php b/mod/update_network.php
index ff668ab353..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) OR ($_GET['top'] == 1)) {
+ 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();