profile not set

This commit is contained in:
Friendika 2011-04-04 01:18:28 -07:00
parent 9b50b0e16f
commit b5bcf44354
3 changed files with 5 additions and 3 deletions

View file

@ -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');

View file

@ -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

View file

@ -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);
}