aboutsummaryrefslogtreecommitdiffstats
path: root/mod/notifications.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 /mod/notifications.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 'mod/notifications.php')
-rw-r--r--mod/notifications.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/mod/notifications.php b/mod/notifications.php
index 5bb85085f..8221dd7c3 100644
--- a/mod/notifications.php
+++ b/mod/notifications.php
@@ -338,10 +338,10 @@ function notifications_content(&$a) {
$notif_tpl = get_markup_template('notifications.tpl');
- $myurl = $a->get_baseurl(true) . '/profile/'. $a->user['nickname'];
+ $myurl = $a->get_baseurl(true) . '/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);
$sql_extra .= sprintf(" AND ( `item`.`author-link` regexp '%s' or `item`.`tag` regexp '%s' or `item`.`tag` regexp '%s' ) ",
dbesc($myurl . '$'),
dbesc($myurl . '\\]'),