make contact_remove sort of work so I can actually get rid of Oliver's and Michael J's dead contacts and not poll them every ten minutes forever

This commit is contained in:
friendica
2013-01-25 16:18:35 -08:00
parent 318d75a86a
commit c96eb6dc97
6 changed files with 43 additions and 23 deletions

View File

@@ -63,7 +63,7 @@ if((isset($_SESSION)) && (x($_SESSION,'authenticated')) && ((! (x($_POST,'auth-p
info( t('Logged out.') . EOL);
goaway(z_root());
}
dbg(1);
if(x($_SESSION,'visitor_id') && (! x($_SESSION,'uid'))) {
$r = q("select * from hubloc left join xchan on xchan_hash = hubloc_hash where hubloc_hash = '%s' limit 1",
dbesc($_SESSION['visitor_id'])
@@ -77,7 +77,7 @@ dbg(1);
}
$a->set_groups(init_groups_visitor($_SESSION['visitor_id']));
}
dbg(0);
if(x($_SESSION,'uid') || x($_SESSION,'account_id')) {
// already logged in user returning