Threads are now always enabled.

This commit is contained in:
Michael 2017-11-28 18:54:39 +00:00
parent e8bac99728
commit 8bffee43b3
9 changed files with 5 additions and 30 deletions

View file

@ -73,7 +73,6 @@ class App {
public $videowidth = 425;
public $videoheight = 350;
public $force_max_items = 0;
public $theme_thread_allow = true;
public $theme_events_in_profile = true;
/**
@ -87,7 +86,6 @@ class App {
'videowidth' => 425,
'videoheight' => 350,
'force_max_items' => 0,
'thread_allow' => true,
'stylesheet' => '',
'template_engine' => 'smarty3',
);

View file

@ -66,7 +66,7 @@ class Item extends BaseObject
$ssl_state = ((local_user()) ? true : false);
$this->redirect_url = 'redir/' . $this->getDataValue('cid');
if (Config::get('system', 'thread_allow') && $a->theme_thread_allow && !$this->isToplevel()) {
if (!$this->isToplevel()) {
$this->threaded = true;
}
@ -744,9 +744,6 @@ class Item extends BaseObject
private function getCommentBox($indent)
{
$a = self::getApp();
if (!$this->isToplevel() && !(Config::get('system', 'thread_allow') && $a->theme_thread_allow)) {
return '';
}
$comment_box = '';
$conv = $this->getConversation();