Add check if threads are enabled globally

This commit is contained in:
Max Kostikov 2019-05-02 11:28:29 +02:00
parent d4ab8a5a5d
commit 47f75ad8bf

View File

@ -38,7 +38,7 @@ class ThreadItem {
$this->data = $data;
$this->toplevel = ($this->get_id() == $this->get_data_value('parent'));
$this->threaded = feature_enabled($conv->get_profile_owner(),'reply_to');
$this->threaded = get_config('system','thread_allow');
$observer = \App::get_observer();