streams/Zotlabs/Widget/Profile.php

21 lines
303 B
PHP
Raw Normal View History

2017-03-16 01:31:34 +00:00
<?php
namespace Zotlabs\Widget;
2019-04-18 02:19:49 +00:00
use App;
use Zotlabs\Lib\Libprofile;
2017-03-16 01:31:34 +00:00
2021-12-02 23:02:31 +00:00
class Profile
{
2017-03-16 01:31:34 +00:00
2021-12-02 23:02:31 +00:00
public function widget($args)
{
2019-04-18 02:19:49 +00:00
2021-12-02 23:02:31 +00:00
if (!App::$profile['profile_uid']) {
return EMPTY_STR;
}
return Libprofile::widget(App::$profile, observer_prohibited(), true);
}
2021-12-03 03:01:39 +00:00
}