diff options
author | zotlabs <mike@macgirvin.com> | 2017-03-15 18:31:34 -0700 |
---|---|---|
committer | Mario Vavti <mario@mariovavti.com> | 2017-03-29 11:47:58 +0200 |
commit | 477ed97c2fbfff903f9ebf0ffa7fba078eeac10f (patch) | |
tree | 4f7f44aaa5d64c67f3959d196c8c55ae100c79e0 /Zotlabs/Widget/Profile | |
parent | 242ef70a775a86050152c0aea9096ec1cd6d0312 (diff) | |
download | volse-hubzilla-477ed97c2fbfff903f9ebf0ffa7fba078eeac10f.tar.gz volse-hubzilla-477ed97c2fbfff903f9ebf0ffa7fba078eeac10f.tar.bz2 volse-hubzilla-477ed97c2fbfff903f9ebf0ffa7fba078eeac10f.zip |
convert more widgets to classes
Diffstat (limited to 'Zotlabs/Widget/Profile')
-rw-r--r-- | Zotlabs/Widget/Profile | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/Zotlabs/Widget/Profile b/Zotlabs/Widget/Profile new file mode 100644 index 000000000..bffd910b6 --- /dev/null +++ b/Zotlabs/Widget/Profile @@ -0,0 +1,13 @@ +<?php + +namespace Zotlabs\Widget; + + +class Profile { + + function widget($args) { + $block = observer_prohibited(); + return profile_sidebar(\App::$profile, $block, true); + } + +}
\ No newline at end of file |