streams/Zotlabs/Widget/Shortprofile.php

19 lines
310 B
PHP
Raw Normal View History

2017-03-16 03:11:28 +00:00
<?php
namespace Zotlabs\Widget;
2019-07-08 06:35:24 +00:00
use App;
2019-07-06 15:27:22 +00:00
use Zotlabs\Lib\Libprofile;
2021-12-02 23:02:31 +00:00
class Shortprofile
{
2017-03-16 03:11:28 +00:00
2021-12-02 23:02:31 +00:00
public function widget($arr)
{
if (App::$profile['profile_uid']) {
return Libprofile::widget(App::$profile, observer_prohibited(), true, true);
}
return EMPTY_STR;
}
2017-03-16 03:11:28 +00:00
}