profile not set

pull/1/head
Friendika 12 years ago
parent 9b50b0e16f
commit b5bcf44354

@ -901,7 +901,7 @@ function dfrn_deliver($owner,$contact,$atom, $dissolve = false) {
*
*/
function consume_feed($xml,$importer,&$contact, &$hub, $datedir = 0) {
function consume_feed($xml,$importer,&$contact, &$hub, $datedir = 0, $secure_feed = false) {
require_once('simplepie/simplepie.inc');

@ -278,7 +278,8 @@ function poller_run($argv, $argc){
continue;
}
consume_feed($xml,$importer,$contact,$hub,1);
consume_feed($xml,$importer,$contact,$hub,1, true);
// do it twice. Ensures that children of parents which may be later in the stream aren't tossed

@ -446,6 +446,8 @@ function dfrn_poll_content(&$a) {
));
}
$profile = $r[0]['nickname'];
switch($destination_url) {
case 'profile':
$dest = $a->get_baseurl() . '/profile/' . $profile . '?tab=profile';
@ -487,7 +489,6 @@ function dfrn_poll_content(&$a) {
dbesc($session_id)
);
}
$profile = $r[0]['nickname'];
goaway($dest);
}

Loading…
Cancel
Save