diff options
author | Max Kostikov <max@kostikov.co> | 2019-05-02 11:28:29 +0200 |
---|---|---|
committer | Max Kostikov <max@kostikov.co> | 2019-05-02 11:28:29 +0200 |
commit | 47f75ad8bfbe8325a76ae6fe466aa8080fc87045 (patch) | |
tree | 2e19e81ca76091e17b67ca5eb9c582f4c0523a1f /Zotlabs/Lib/ThreadItem.php | |
parent | d4ab8a5a5d933e7d6e1cec610c26756e32b05624 (diff) | |
download | volse-hubzilla-47f75ad8bfbe8325a76ae6fe466aa8080fc87045.tar.gz volse-hubzilla-47f75ad8bfbe8325a76ae6fe466aa8080fc87045.tar.bz2 volse-hubzilla-47f75ad8bfbe8325a76ae6fe466aa8080fc87045.zip |
Add check if threads are enabled globally
Diffstat (limited to 'Zotlabs/Lib/ThreadItem.php')
-rw-r--r-- | Zotlabs/Lib/ThreadItem.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Zotlabs/Lib/ThreadItem.php b/Zotlabs/Lib/ThreadItem.php index 9d15215e3..3f1888d30 100644 --- a/Zotlabs/Lib/ThreadItem.php +++ b/Zotlabs/Lib/ThreadItem.php @@ -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(); |