aboutsummaryrefslogtreecommitdiffstats
path: root/include/api.php
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2012-10-29 17:14:02 -0700
committerfriendica <info@friendica.com>2012-10-29 17:14:02 -0700
commite3c2e589794b13e23c1184deeba37e41dbc0144b (patch)
treec7f36aa88f89ffd7afbc97183d0cf3c20c637da8 /include/api.php
parenta217c8de98329e97c3706ad4351deecd1c31fbc2 (diff)
downloadvolse-hubzilla-e3c2e589794b13e23c1184deeba37e41dbc0144b.tar.gz
volse-hubzilla-e3c2e589794b13e23c1184deeba37e41dbc0144b.tar.bz2
volse-hubzilla-e3c2e589794b13e23c1184deeba37e41dbc0144b.zip
"profile url" e.g. the wall/stream is now "channel url". "Profile URL" goes to the profile details.
Diffstat (limited to 'include/api.php')
-rw-r--r--include/api.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/api.php b/include/api.php
index 6b2fd008b..428c17957 100644
--- a/include/api.php
+++ b/include/api.php
@@ -1011,10 +1011,10 @@
//$include_entities = (x($_REQUEST,'include_entities')?$_REQUEST['include_entities']:false);
- $myurl = $a->get_baseurl() . '/profile/'. $a->user['nickname'];
+ $myurl = $a->get_baseurl() . '/channel/'. $a->user['nickname'];
$myurl = substr($myurl,strpos($myurl,'://')+3);
$myurl = str_replace(array('www.','.'),array('','\\.'),$myurl);
- $diasp_url = str_replace('/profile/','/u/',$myurl);
+ $diasp_url = str_replace('/channel/','/u/',$myurl);
if (get_config('system','use_fulltext_engine'))
$sql_extra .= sprintf(" AND `item`.`parent` IN (SELECT distinct(`parent`) from item where (MATCH(`author-link`) AGAINST ('".'"%s"'."' in boolean mode) or MATCH(`tag`) AGAINST ('".'"%s"'."' in boolean mode) or MATCH(tag) AGAINST ('".'"%s"'."' in boolean mode))) ",
@@ -1623,7 +1623,7 @@
$start = $page*$count;
- $profile_url = $a->get_baseurl() . '/profile/' . $a->user['nickname'];
+ $profile_url = $a->get_baseurl() . '/channel/' . $a->user['nickname'];
if ($box=="sentbox") {
$sql_extra = "`from-url`='".dbesc( $profile_url )."'";
}