diff options
author | fabrixxm <fabrix.xm@gmail.com> | 2011-02-03 07:24:58 +0100 |
---|---|---|
committer | fabrixxm <fabrix.xm@gmail.com> | 2011-02-03 07:24:58 +0100 |
commit | 97bb80c00f4106d63d730f6bcaebf9e4aa247c01 (patch) | |
tree | 43bfb9aa3f85c3b7c2ec19ad72fece95f745ce4d /include/poller.php | |
parent | a3fd84661f74b0759f9edad1f068b32820b03c5d (diff) | |
parent | 0a32370e32b068073010d1d6b33241867c3be4d7 (diff) | |
download | volse-hubzilla-97bb80c00f4106d63d730f6bcaebf9e4aa247c01.tar.gz volse-hubzilla-97bb80c00f4106d63d730f6bcaebf9e4aa247c01.tar.bz2 volse-hubzilla-97bb80c00f4106d63d730f6bcaebf9e4aa247c01.zip |
Merge branch 'friendika-master'
Diffstat (limited to 'include/poller.php')
-rw-r--r-- | include/poller.php | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/include/poller.php b/include/poller.php index 2ba285b7b..20c84990e 100644 --- a/include/poller.php +++ b/include/poller.php @@ -35,16 +35,16 @@ function poller_run($argv, $argc){ q("DELETE FROM `cache` WHERE `updated`<'%s'", dbesc(datetime_convert('UTC','UTC',"now - 30 days"))); - + $manual_id = 0; $hub_update = false; - $force = false; + $force = false; if(($argc > 1) && ($argv[1] == 'force')) $force = true; if(($argc > 1) && intval($argv[1])) { $manual_id = intval($argv[1]); - $force = true; + $force = true; } $sql_extra = (($manual_id) ? " AND `id` = $manual_id " : ""); @@ -62,8 +62,8 @@ function poller_run($argv, $argc){ foreach($contacts as $contact) { - if($manual_id) - $contact['last-update'] = '0000-00-00 00:00:00'; + if($manual_id) + $contact['last-update'] = '0000-00-00 00:00:00'; if($contact['priority'] || $contact['subhub']) { |