aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorzotlabs <mike@macgirvin.com>2017-03-16 18:36:58 -0700
committerzotlabs <mike@macgirvin.com>2017-03-16 18:36:58 -0700
commitd9037589407162f51578856b084baaa5353a8a04 (patch)
tree04815a70930961997681fa1e8b0117d97514f404 /include
parentcf11ba1147355f0583016db2cec4f7793e656dfc (diff)
downloadvolse-hubzilla-d9037589407162f51578856b084baaa5353a8a04.tar.gz
volse-hubzilla-d9037589407162f51578856b084baaa5353a8a04.tar.bz2
volse-hubzilla-d9037589407162f51578856b084baaa5353a8a04.zip
remove include/widgets.php
Diffstat (limited to 'include')
-rw-r--r--include/channel.php7
-rw-r--r--include/widgets.php7
2 files changed, 1 insertions, 13 deletions
diff --git a/include/channel.php b/include/channel.php
index ceb5eeb7a..f88a2f8aa 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 f35915d72..000000000
--- a/include/widgets.php
+++ /dev/null
@@ -1,7 +0,0 @@
-<?php
-/**
- * @file include/widgets.php
- *
- * @brief This file may contain some widgets.
- */
-