aboutsummaryrefslogtreecommitdiffstats
path: root/include/conversation.php
diff options
context:
space:
mode:
authorredmatrix <mike@macgirvin.com>2016-08-25 17:43:07 -0700
committerredmatrix <mike@macgirvin.com>2016-08-25 17:43:07 -0700
commit38ea8bee935181220e89fd22120865ab63af9da6 (patch)
treef08406ca44b9a76a5a4ce001acc63cf05f763bd1 /include/conversation.php
parenta969f181379a350609b24ba8258fcdd204f07d11 (diff)
downloadvolse-hubzilla-38ea8bee935181220e89fd22120865ab63af9da6.tar.gz
volse-hubzilla-38ea8bee935181220e89fd22120865ab63af9da6.tar.bz2
volse-hubzilla-38ea8bee935181220e89fd22120865ab63af9da6.zip
ratings are gone. They can be enabled, but there is no UI for doing so at this time; and will likely only be available in a 'pro' configuration once the new implementation details have been hashed out. This appears to require a mechanism for rebuttal before it can again be opened to the public. There are also some synchronisation issues to contend with; as ratings are currently only distributed to active directory servers. There is no reliable mechanism for a new directory server to fetch existing ratings.
Diffstat (limited to 'include/conversation.php')
-rw-r--r--include/conversation.php7
1 files changed, 2 insertions, 5 deletions
diff --git a/include/conversation.php b/include/conversation.php
index 637234bff..2e056b620 100644
--- a/include/conversation.php
+++ b/include/conversation.php
@@ -941,12 +941,9 @@ function item_photo_menu($item){
$clean_url = normalise_link($item['author-link']);
}
- $poco_rating = get_config('system','poco_rating_enable');
- // if unset default to enabled
- if($poco_rating === false)
- $poco_rating = true;
+ $rating_enabled = get_config('system','rating_enabled');
- $ratings_url = (($poco_rating) ? z_root() . '/ratings/' . urlencode($item['author_xchan']) : '');
+ $ratings_url = (($rating_enabled) ? z_root() . '/ratings/' . urlencode($item['author_xchan']) : '');
$post_menu = Array(
t("View Source") => $vsrc_link,