mirror of
https://git.friendi.ca/friendica/friendica.git
synced 2025-06-17 04:05:16 +02:00
group work, dfrn_poll
This commit is contained in:
parent
766b317070
commit
f5826105bf
6 changed files with 108 additions and 105 deletions
|
@ -46,7 +46,7 @@ function dfrn_poll_init(&$a) {
|
|||
|
||||
if((x($type)) && ($type == 'profile-check')) {
|
||||
|
||||
q("DELETE FROM `expire` WHERE `expire` < " . time());
|
||||
q("DELETE FROM `profile_check` WHERE `expire` < " . intval(time()));
|
||||
$r = q("SELECT * FROM `profile_check` WHERE `dfrn_id` = '%s' ORDER BY `expire` DESC",
|
||||
dbesc($dfrn_id));
|
||||
if(count($r))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue