]> git.mxchange.org Git - friendica.git/blobdiff - include/cron.php
was a bit confusing for me or I was not sleeping to much ...
[friendica.git] / include / cron.php
index 93ea167c3851f1a12885f37b03dfdf26435fc541..ca9b5dff25e9ade75dc9546ec3b1d86bc83b5daf 100644 (file)
@@ -222,7 +222,7 @@ function cron_poll_contacts($argc, $argv) {
                                $contact['priority'] = 2;
                        }
 
-                       if($contact['subhub'] AND in_array($contact['network'], array(NETWORK_DFRN, NETWORK_ZOT, NETWORK_OSTATUS))) {
+                       if ($contact['subhub'] AND in_array($contact['network'], array(NETWORK_DFRN, NETWORK_ZOT, NETWORK_OSTATUS))) {
                                // We should be getting everything via a hub. But just to be sure, let's check once a day.
                                // (You can make this more or less frequent if desired by setting 'pushpoll_frequency' appropriately)
                                // This also lets us update our subscription to the hub, and add or replace hubs in case it