From f591526ebc9ab3a98f1e58c8e1873e76e72b0a1f Mon Sep 17 00:00:00 2001 From: friendica Date: Tue, 29 Jan 2013 18:01:33 -0800 Subject: missing permission settings --- include/onepoll.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'include/onepoll.php') diff --git a/include/onepoll.php b/include/onepoll.php index f97846026..f025aaf86 100644 --- a/include/onepoll.php +++ b/include/onepoll.php @@ -33,7 +33,7 @@ function onepoll_run($argv, $argc){ $d = datetime_convert(); - +dbg(1); $contacts = q("SELECT abook.*, xchan.*, account.* FROM abook LEFT JOIN account on abook_account = account_id left join xchan on xchan_hash = abook_xchan where abook_id = %d @@ -45,6 +45,7 @@ function onepoll_run($argv, $argc){ intval(ACCOUNT_OK), intval(ACCOUNT_UNVERIFIED) ); +dbg(0); if(! $contacts) { logger('onepoll: abook_id not found: ' . $contact_id); -- cgit v1.2.3