paths in xchan_addr no longer means RSS specifically but could be activitypub

This commit is contained in:
zotlabs 2017-09-03 22:09:16 -07:00
parent 47ef41695a
commit 3d0a7f4fc5
2 changed files with 1 additions and 4 deletions

View File

@ -352,7 +352,7 @@ class Acl extends \Zotlabs\Web\Controller {
"id" => $g['id'], "id" => $g['id'],
"xid" => $g['hash'], "xid" => $g['hash'],
"link" => $g['nick'], "link" => $g['nick'],
"nick" => (($g['nick']) ? substr($g['nick'],0,strpos($g['nick'],'@')) : t('RSS')), "nick" => (($g['nick']) ? substr($g['nick'],0,strpos($g['nick'],'@')) : $g['nick']),
"self" => (intval($g['abook_self']) ? 'abook-self' : ''), "self" => (intval($g['abook_self']) ? 'abook-self' : ''),
"taggable" => '', "taggable" => '',
"label" => '', "label" => '',

View File

@ -87,9 +87,6 @@ function deletenode(&$doc, $node)
function html2bbcode($message) function html2bbcode($message)
{ {
//$file = tempnam("/tmp/", "html");
//file_put_contents($file, $message);
$message = str_replace("\r", "", $message); $message = str_replace("\r", "", $message);
$message = str_replace(array( $message = str_replace(array(