streams/Zotlabs/Widget/Profile.php

19 lines
262 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
class Profile {
function widget($args) {
2019-04-18 02:19:49 +00:00
if (! App::$profile['profile_uid']) {
return EMPTY_STR;
}
return Libprofile::widget(App::$profile, observer_prohibited(), true);
2017-03-16 01:31:34 +00:00
}
}