fixes to photo linked items, shut up poller until I can get to that
This commit is contained in:
@@ -63,9 +63,14 @@ function poller_run($argv, $argc){
|
||||
|
||||
// expire any expired accounts
|
||||
|
||||
q("UPDATE user SET `account_expired` = 1 where `account_expired` = 0
|
||||
AND `account_expires_on` != '0000-00-00 00:00:00'
|
||||
AND `account_expires_on` < UTC_TIMESTAMP() ");
|
||||
q("UPDATE account
|
||||
SET account_flags = account_flags | %d
|
||||
where not account_flags & %d
|
||||
and account_expires != '0000-00-00 00:00:00'
|
||||
and account_expires < UTC_TIMESTAMP() ",
|
||||
intval(ACCOUNT_EXPIRED),
|
||||
intval(ACCOUNT_EXPIRED)
|
||||
);
|
||||
|
||||
$abandon_days = intval(get_config('system','account_abandon_days'));
|
||||
if($abandon_days < 1)
|
||||
@@ -145,6 +150,9 @@ function poller_run($argv, $argc){
|
||||
: ''
|
||||
);
|
||||
|
||||
// FIXME
|
||||
return;
|
||||
|
||||
$contacts = q("SELECT `contact`.`id` FROM `contact` LEFT JOIN `user` ON `user`.`uid` = `contact`.`uid`
|
||||
WHERE ( `rel` = %d OR `rel` = %d ) AND `poll` != ''
|
||||
AND NOT `network` IN ( '%s', '%s' )
|
||||
|
||||
Reference in New Issue
Block a user