diff options
author | zotlabs <mike@macgirvin.com> | 2017-03-15 16:55:47 -0700 |
---|---|---|
committer | Mario Vavti <mario@mariovavti.com> | 2017-03-29 11:45:54 +0200 |
commit | 755b75161494ea9810ab0e38242cb1a318793ed3 (patch) | |
tree | 5f6ae2ad6e47b2e503e5dca2c8be9ec16d1f81ab /include | |
parent | 5564b47dbc640b30a8090a6138f0c2f841accbe9 (diff) | |
download | volse-hubzilla-755b75161494ea9810ab0e38242cb1a318793ed3.tar.gz volse-hubzilla-755b75161494ea9810ab0e38242cb1a318793ed3.tar.bz2 volse-hubzilla-755b75161494ea9810ab0e38242cb1a318793ed3.zip |
Comanche: allow widgets to be class based and stored appropriately in Zotlabs
Diffstat (limited to 'include')
-rw-r--r-- | include/widgets.php | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/include/widgets.php b/include/widgets.php index c88c03f7e..54390ede4 100644 --- a/include/widgets.php +++ b/include/widgets.php @@ -174,22 +174,6 @@ function widget_follow($args) { } -function widget_notes($arr) { - if(! local_channel()) - return ''; - if(! feature_enabled(local_channel(),'private_notes')) - return ''; - - $text = get_pconfig(local_channel(),'notes','text'); - - $o = replace_macros(get_markup_template('notes.tpl'), array( - '$banner' => t('Notes'), - '$text' => $text, - '$save' => t('Save'), - )); - - return $o; -} function widget_savedsearch($arr) { |