]> git.mxchange.org Git - friendica.git/blobdiff - src/Worker/Cron.php
Merge pull request #6531 from Ixiter/develop-theme-frio
[friendica.git] / src / Worker / Cron.php
index 1db7d916d14aaba6a0f071259ca8b0bd987401a8..b9a8c0f2ecf34258bb828a834ea662caeb733477 100644 (file)
@@ -143,13 +143,11 @@ class Cron
                $manual_id  = 0;
                $generation = 0;
                $force      = false;
-               $restart    = false;
 
                if ($parameter == 'force') {
                        $force = true;
                }
                if ($parameter == 'restart') {
-                       $restart = true;
                        $generation = intval($generation);
                        if (!$generation) {
                                exit();
@@ -167,8 +165,6 @@ class Cron
 
                Addon::reload();
 
-               $d = DateTimeFormat::utcNow();
-
                // Only poll from those with suitable relationships,
                // and which have a polling address and ignore Diaspora since
                // we are unable to match those posts with a Diaspora GUID and prevent duplicates.