]> git.mxchange.org Git - friendica.git/commitdiff
Auto update does work now
authorMichael <heluecht@pirati.ca>
Thu, 4 Jan 2018 15:58:07 +0000 (15:58 +0000)
committerMichael <heluecht@pirati.ca>
Thu, 4 Jan 2018 15:58:07 +0000 (15:58 +0000)
mod/update_community.php

index 1e90053267abdc2723e5741cb2ac287c7e0752cf..037c724891cdb8eb637667faabac28d7d727a7a1 100644 (file)
@@ -12,7 +12,11 @@ function update_community_content(App $a) {
        echo "<!DOCTYPE html><html><body>\r\n";
        echo "<section>";
 
-       $text = community_content($a, true);
+       if ($_GET["force"] == 1) {
+               $text = community_content($a, true);
+       } else {
+               $text = '';
+       }
 
        $pattern = "/<img([^>]*) src=\"([^\"]*)\"/";
        $replace = "<img\${1} dst=\"\${2}\"";