diff options
author | zotlabs <mike@macgirvin.com> | 2017-03-16 18:36:58 -0700 |
---|---|---|
committer | Mario Vavti <mario@mariovavti.com> | 2017-03-29 12:04:44 +0200 |
commit | 6c92a240cca673b4cdac25a2e64503a0d50c0124 (patch) | |
tree | a4308975f6dfbf06144ff59a4bf2af40b00b94f7 /include | |
parent | 0bad26e116499d9b656c28f64c81275df4bbecb6 (diff) | |
download | volse-hubzilla-6c92a240cca673b4cdac25a2e64503a0d50c0124.tar.gz volse-hubzilla-6c92a240cca673b4cdac25a2e64503a0d50c0124.tar.bz2 volse-hubzilla-6c92a240cca673b4cdac25a2e64503a0d50c0124.zip |
remove include/widgets.php
Diffstat (limited to 'include')
-rw-r--r-- | include/channel.php | 7 | ||||
-rw-r--r-- | include/widgets.php | 8 |
2 files changed, 1 insertions, 14 deletions
diff --git a/include/channel.php b/include/channel.php index b838f8393..7cf78cb8b 100644 --- a/include/channel.php +++ b/include/channel.php @@ -1193,11 +1193,6 @@ function profile_sidebar($profile, $block = 0, $show_connect = true, $zcard = fa else $tpl = get_markup_template('profile_vcard.tpl'); - require_once('include/widgets.php'); - -// if(! feature_enabled($profile['uid'],'hide_rating')) - $z = widget_rating(array('target' => $profile['channel_hash'])); - $o .= replace_macros($tpl, array( '$zcard' => $zcard, '$profile' => $profile, @@ -1211,7 +1206,7 @@ function profile_sidebar($profile, $block = 0, $show_connect = true, $zcard = fa '$chanmenu' => $channel_menu, '$diaspora' => $diaspora, '$reddress' => $reddress, - '$rating' => $z, + '$rating' => '', '$contact_block' => $contact_block, '$editmenu' => profile_edit_menu($profile['uid']) )); diff --git a/include/widgets.php b/include/widgets.php deleted file mode 100644 index 8497d1848..000000000 --- a/include/widgets.php +++ /dev/null @@ -1,8 +0,0 @@ -<?php -/** - * @file include/widgets.php - * - * @brief This file may contain some widgets. - */ - - |