From e3c2e589794b13e23c1184deeba37e41dbc0144b Mon Sep 17 00:00:00 2001 From: friendica Date: Mon, 29 Oct 2012 17:14:02 -0700 Subject: "profile url" e.g. the wall/stream is now "channel url". "Profile URL" goes to the profile details. --- mod/auth.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'mod/auth.php') diff --git a/mod/auth.php b/mod/auth.php index dae8a0e16..75d5fe545 100644 --- a/mod/auth.php +++ b/mod/auth.php @@ -76,7 +76,7 @@ function auth_init(&$a) { } } $profile = $r[0]['nickname']; - goaway((strlen($destination_url)) ? $destination_url : $a->get_baseurl() . '/profile/' . $profile); + goaway((strlen($destination_url)) ? $destination_url : $a->get_baseurl() . '/channel/' . $profile); } goaway(z_root()); @@ -451,14 +451,14 @@ function auth_content(&$a) { switch($destination_url) { case 'profile': - $dest = $a->get_baseurl() . '/profile/' . $profile . '?tab=profile'; + $dest = $a->get_baseurl() . '/profile/' . $profile ; break; case 'photos': $dest = $a->get_baseurl() . '/photos/' . $profile; break; case 'status': case '': - $dest = $a->get_baseurl() . '/profile/' . $profile; + $dest = $a->get_baseurl() . '/channel/' . $profile; break; default: $dest = $destination_url; -- cgit v1.2.3