mirror of
https://github.com/friendica/friendica
synced 2025-04-26 10:30:11 +00:00
Remove Profile::load from Module\HCard
- Renamed and re-scoped Profile::sidebar to getVcardHtml
This commit is contained in:
parent
8f0e36d617
commit
ceeb246128
2 changed files with 20 additions and 16 deletions
|
@ -255,7 +255,7 @@ class Profile
|
|||
* By now, the contact block isn't shown, when a different profile is given
|
||||
* But: When this profile was on the same server, then we could display the contacts
|
||||
*/
|
||||
DI::page()['aside'] .= self::sidebar($profile, $block, $show_contacts);
|
||||
DI::page()['aside'] .= self::getVCardHtml($profile, $block, $show_contacts);
|
||||
|
||||
return $profile;
|
||||
}
|
||||
|
@ -281,7 +281,7 @@ class Profile
|
|||
* @hooks 'profile_sidebar'
|
||||
* array $arr
|
||||
*/
|
||||
private static function sidebar(array $profile, bool $block, bool $show_contacts)
|
||||
public static function getVCardHtml(array $profile, bool $block, bool $show_contacts)
|
||||
{
|
||||
$o = '';
|
||||
$location = false;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue