From 3ba322889fdfecc07099377cf6e28c4b2fb30e59 Mon Sep 17 00:00:00 2001 From: Friendika Date: Fri, 24 Dec 2010 19:04:40 -0800 Subject: [PATCH] undo one of the hooks from last checkin - passing objects led to error --- include/items.php | 3 ++- mod/dfrn_poll.php | 3 +++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/include/items.php b/include/items.php index a606749ce5..c00ec93ae3 100644 --- a/include/items.php +++ b/include/items.php @@ -185,6 +185,7 @@ function get_feed_for(&$a, $dfrn_id, $owner_id, $last_update, $direction = 0) { call_hooks('atom_feed_end', $atom); $atom .= '' . "\r\n"; + return $atom; } @@ -498,7 +499,7 @@ function get_atom_elements($feed,$item) { $res['target'] .= '' . "\n"; } - call_hooks('parse_atom', array('feed' => $feed, 'item' => $item, 'result' => $res)); +// call_hooks('parse_atom', array('feed' => $feed, 'item' => $item, 'result' => $res)); return $res; } diff --git a/mod/dfrn_poll.php b/mod/dfrn_poll.php index a8c27efc17..22d2ee40fb 100644 --- a/mod/dfrn_poll.php +++ b/mod/dfrn_poll.php @@ -1,11 +1,14 @@