mirror of
https://github.com/friendica/friendica
synced 2025-04-26 07:50:15 +00:00
Threads are now always enabled.
This commit is contained in:
parent
e8bac99728
commit
8bffee43b3
9 changed files with 5 additions and 30 deletions
|
@ -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',
|
||||
);
|
||||
|
|
|
@ -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();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue