1
0
Fork 0

Public commenting is now always enabled

This commit is contained in:
Michael 2018-01-31 23:22:41 +00:00
commit 03aafa8228
3 changed files with 23 additions and 40 deletions

View file

@ -783,7 +783,7 @@ function networkThreadedView(App $a, $update = 0)
}
// Only show it when unfiltered (no groups, no networks, ...)
if (Config::get('system', 'comment_public') && in_array($nets, ['', NETWORK_DFRN, NETWORK_DIASPORA, NETWORK_OSTATUS]) && (strlen($sql_extra . $sql_extra2 . $sql_extra3) == 0)) {
if (in_array($nets, ['', NETWORK_DFRN, NETWORK_DIASPORA, NETWORK_OSTATUS]) && (strlen($sql_extra . $sql_extra2 . $sql_extra3) == 0)) {
if (DBM::is_result($r)) {
$top_limit = current($r)['order_date'];
$bottom_limit = end($r)['order_date'];