diff options
author | friendica <info@friendica.com> | 2012-06-16 03:35:45 -0700 |
---|---|---|
committer | friendica <info@friendica.com> | 2012-06-16 03:35:45 -0700 |
commit | 4faf0e609fe03095069c7a4bcdfc3496e4a28627 (patch) | |
tree | 72661477362578f0935724991d44c225aed1297f /include/onepoll.php | |
parent | 4c3598ce2f2774dc639cb7c73c63b01d808a2758 (diff) | |
download | volse-hubzilla-4faf0e609fe03095069c7a4bcdfc3496e4a28627.tar.gz volse-hubzilla-4faf0e609fe03095069c7a4bcdfc3496e4a28627.tar.bz2 volse-hubzilla-4faf0e609fe03095069c7a4bcdfc3496e4a28627.zip |
rev update
Diffstat (limited to 'include/onepoll.php')
-rw-r--r-- | include/onepoll.php | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/include/onepoll.php b/include/onepoll.php index 700498efc..d68f26883 100644 --- a/include/onepoll.php +++ b/include/onepoll.php @@ -36,11 +36,6 @@ function onepoll_run($argv, $argc){ logger('onepoll: start'); - $abandon_days = intval(get_config('system','account_abandon_days')); - if($abandon_days < 1) - $abandon_days = 0; - - $manual_id = 0; $generation = 0; $hub_update = false; @@ -62,11 +57,6 @@ function onepoll_run($argv, $argc){ // and which have a polling address and ignore Diaspora since // we are unable to match those posts with a Diaspora GUID and prevent duplicates. - $abandon_sql = (($abandon_days) - ? sprintf(" AND `user`.`login_date` > UTC_TIMESTAMP() - INTERVAL %d DAY ", intval($abandon_days)) - : '' - ); - $contacts = q("SELECT `contact`.* FROM `contact` WHERE ( `rel` = %d OR `rel` = %d ) AND `poll` != '' AND NOT `network` IN ( '%s', '%s' ) |