1
0
Fork 0

queue logging

This commit is contained in:
Friendika 2010-11-25 15:50:08 -08:00
parent 9fb967ae34
commit 041df1c011

View file

@ -259,7 +259,10 @@
logger('notifier: dfrndelivery: ' . $contact['name']);
$deliver_status = dfrn_deliver($owner,$contact,$atom);
logger('notifier: dfrn_delivery returns ' . $deliver_status);
if($deliver_status == (-1)) {
logger('notifier: delivery failed: queuing message');
// queue message for redelivery
q("INSERT INTO `queue` ( `cid`, `created`, `last`, `content`)
VALUES ( %d, '%s', '%s', '%s') ",