X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=mod%2Fupdate_network.php;h=1bf374657573b5785e38622f0b716ff8bfcffd7b;hb=835e6c4955c9e1c160c02c21e8df7ca7beabd2fb;hp=65366d13776b9554c9f05f0491c6b88cd4cd325e;hpb=c980e6d20d08b6addb2938bd2e51bd599ae71d1d;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();