restrict confirmations in queue to jabber addresses
darcs-hash:20080706035838-84dde-abcea063c7d298b3332cf7401efecf3c6ba96ee5.gz
This commit is contained in:
parent
e4a1b9cde9
commit
0b5e79dc01
@ -362,6 +362,8 @@ class XMPPDaemon {
|
|||||||
$confirm = new Confirm_address();
|
$confirm = new Confirm_address();
|
||||||
$confirm->sent = NULL;
|
$confirm->sent = NULL;
|
||||||
$confirm->claimed = NULL;
|
$confirm->claimed = NULL;
|
||||||
|
# XXX: eventually we could do other confirmations in the queue, too
|
||||||
|
$confirm->address_type = 'jabber';
|
||||||
$confirm->orderBy('modified DESC');
|
$confirm->orderBy('modified DESC');
|
||||||
$confirm->limit(1);
|
$confirm->limit(1);
|
||||||
if ($confirm->find(TRUE)) {
|
if ($confirm->find(TRUE)) {
|
||||||
|
Loading…
Reference in New Issue
Block a user