We are not using laravel helpers on GNU Social
This commit is contained in:
parent
4d3321ac21
commit
167f88a602
@ -70,7 +70,7 @@ class Activitypub_Discovery {
|
|||||||
$profile->profileurl = $res["url"];
|
$profile->profileurl = $res["url"];
|
||||||
$profile->nickname = $res["nickname"];
|
$profile->nickname = $res["nickname"];
|
||||||
$profile->fullname = $res["display_name"];
|
$profile->fullname = $res["display_name"];
|
||||||
$profile->bio = str_limit($res["summary"], 1000);
|
$profile->bio = substr ($res["summary"], 0, 1000);
|
||||||
$profile->insert ();
|
$profile->insert ();
|
||||||
|
|
||||||
return $profile;
|
return $profile;
|
||||||
|
Reference in New Issue
Block a user