Merge branch 'dev' into 'dev'
Add check if threads are enabled globally See merge request hubzilla/core!1621
This commit is contained in:
commit
b35961c53c
@ -38,7 +38,7 @@ class ThreadItem {
|
|||||||
|
|
||||||
$this->data = $data;
|
$this->data = $data;
|
||||||
$this->toplevel = ($this->get_id() == $this->get_data_value('parent'));
|
$this->toplevel = ($this->get_id() == $this->get_data_value('parent'));
|
||||||
$this->threaded = get_config('system','thread_allow',((defined('NOMADIC')) ? false : true));
|
$this->threaded = get_config('system','thread_allow');
|
||||||
|
|
||||||
$observer = \App::get_observer();
|
$observer = \App::get_observer();
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user