aboutsummaryrefslogtreecommitdiffstats
path: root/include/conversation.php
diff options
context:
space:
mode:
authorMario Vavti <mario@mariovavti.com>2015-04-29 21:36:53 +0200
committerMario Vavti <mario@mariovavti.com>2015-04-29 21:36:53 +0200
commit310d1229010c14487eaeaa70541f9bf96c60627a (patch)
tree7762610ad0c691acc495f7b1edf576cff21c7739 /include/conversation.php
parente56b8fdfaf0c7d4ad1d363639efac7863fe21f93 (diff)
downloadvolse-hubzilla-310d1229010c14487eaeaa70541f9bf96c60627a.tar.gz
volse-hubzilla-310d1229010c14487eaeaa70541f9bf96c60627a.tar.bz2
volse-hubzilla-310d1229010c14487eaeaa70541f9bf96c60627a.zip
disable voting in blocks, layouts and webpages
Diffstat (limited to 'include/conversation.php')
-rw-r--r--include/conversation.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/conversation.php b/include/conversation.php
index 8c9029a43..fb012667e 100644
--- a/include/conversation.php
+++ b/include/conversation.php
@@ -1095,6 +1095,8 @@ function status_editor($a, $x, $popup = false) {
// $plaintext = false;
$voting = feature_enabled(local_channel(), 'consensus_tools');
+ if(x($x, 'novoting'))
+ $voting = false;
$mimeselect = '';
if(array_key_exists('mimetype', $x) && $x['mimetype']) {