streams/Zotlabs/Widget/Fullprofile.php

20 lines
258 B
PHP
Raw Normal View History

2017-03-16 02:30:57 +00:00
<?php
namespace Zotlabs\Widget;
2019-04-18 02:19:49 +00:00
use App;
use Zotlabs\Lib\Libprofile;
2017-03-16 02:30:57 +00:00
class Fullprofile {
function widget($arr) {
2019-04-18 02:19:49 +00:00
if (! App::$profile['profile_uid']) {
return EMPTY_STR;
}
2017-03-16 02:30:57 +00:00
2019-04-18 02:19:49 +00:00
return Libprofile::widget(App::$profile, observer_prohibited());
2017-03-16 02:30:57 +00:00
}
}