]> git.mxchange.org Git - friendica-addons.git/commitdiff
appears that the facebook poll interval was set to seconds rather than minutes, which...
authorfriendica <info@friendica.com>
Sat, 28 Apr 2012 06:15:28 +0000 (23:15 -0700)
committerfriendica <info@friendica.com>
Sat, 28 Apr 2012 06:15:28 +0000 (23:15 -0700)
facebook.tgz
facebook/facebook.php

index a3e60e2d7b09fd249696efef1694c7f2b9ec18e2..4225512b43882ad69ecc12e0495a9e74cf90cbf8 100644 (file)
Binary files a/facebook.tgz and b/facebook.tgz differ
index 011b9ac1000600749b36b3b2b29d6f5c89e45d6a..d63c6081080993e22ecb1b9d5d3a17639f5b1cfb 100644 (file)
@@ -592,7 +592,7 @@ function facebook_cron($a,$b) {
                $poll_interval = FACEBOOK_DEFAULT_POLL_INTERVAL;
 
        if($last) {
-               $next = $last + $poll_interval;
+               $next = $last + ($poll_interval * 60);
                if($next > time()) 
                        return;
        }