Trying this fix for endless redirection
This commit is contained in:
parent
fd6a21f522
commit
80513e4332
1 changed files with 2 additions and 6 deletions
|
@ -2,11 +2,7 @@
|
||||||
|
|
||||||
function auto_redir(&$a, $contact_nick) {
|
function auto_redir(&$a, $contact_nick) {
|
||||||
|
|
||||||
// disabling temporarily - seeing a lot of recursive redirects, triggered in my case
|
if((! $contact_nick) || ($contact_nick === $a->user['nickname']))
|
||||||
// because one of my contacts has the same nickname as me so it's redirecting to his site
|
|
||||||
// (I'm trying to load my own profile page and he is remote so it shouldn't redirect anyway).
|
|
||||||
// Need some time to sort this out.
|
|
||||||
|
|
||||||
return;
|
return;
|
||||||
|
|
||||||
if(local_user()) {
|
if(local_user()) {
|
||||||
|
|
Loading…
Reference in a new issue