aboutsummaryrefslogtreecommitdiffstats
path: root/mod/dfrn_poll.php
diff options
context:
space:
mode:
authorMike Macgirvin <mike@macgirvin.com>2010-07-05 03:33:02 -0700
committerMike Macgirvin <mike@macgirvin.com>2010-07-05 03:33:02 -0700
commitf5826105bfc514599b2c5b6692bca14ca4bc5d78 (patch)
tree7255ddd102b2141ad581f636be37bc60a94e669c /mod/dfrn_poll.php
parent766b31707037a82ffd9140bfe599c27f4ef01495 (diff)
downloadvolse-hubzilla-f5826105bfc514599b2c5b6692bca14ca4bc5d78.tar.gz
volse-hubzilla-f5826105bfc514599b2c5b6692bca14ca4bc5d78.tar.bz2
volse-hubzilla-f5826105bfc514599b2c5b6692bca14ca4bc5d78.zip
group work, dfrn_poll
Diffstat (limited to 'mod/dfrn_poll.php')
-rw-r--r--mod/dfrn_poll.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/mod/dfrn_poll.php b/mod/dfrn_poll.php
index e7f4b0786..da60eb629 100644
--- a/mod/dfrn_poll.php
+++ b/mod/dfrn_poll.php
@@ -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))