]> git.mxchange.org Git - friendica.git/blobdiff - mod/update_network.php
new version of the ShaShape iconset
[friendica.git] / mod / update_network.php
index 65366d13776b9554c9f05f0491c6b88cd4cd325e..1bf374657573b5785e38622f0b716ff8bfcffd7b 100644 (file)
@@ -11,14 +11,11 @@ function update_network_content(&$a) {
 
        header("Content-type: text/html");
        echo "<!DOCTYPE html><html><body>\r\n";
-       echo (($_GET['msie'] == 1) ? '<div>' : '<section>');
+       echo "<section>";
 
-       $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 = "/<img([^>]*) src=\"([^\"]*)\"/";
@@ -37,7 +34,7 @@ function update_network_content(&$a) {
 
 
        echo str_replace("\t",'       ',$text);
-       echo (($_GET['msie'] == 1) ? '</div>' : '</section>');
+       echo "</section>";
        echo "</body></html>\r\n";
        killme();