more widget migrations

This commit is contained in:
zotlabs
2017-03-15 20:11:28 -07:00
committed by Mario Vavti
parent 47f4007951
commit f60309efa1
5 changed files with 102 additions and 73 deletions

View File

@@ -0,0 +1,18 @@
<?php
namespace Zotlabs\Widget;
class Shortprofile {
function widget($arr) {
if(! \App::$profile['profile_uid'])
return;
$block = observer_prohibited();
return profile_sidebar(\App::$profile, $block, true, true);
}
}