diff options
author | redmatrix <git@macgirvin.com> | 2016-08-07 17:29:35 -0700 |
---|---|---|
committer | redmatrix <git@macgirvin.com> | 2016-08-07 17:29:35 -0700 |
commit | 5243dd153bed7fe79188478922a58e8057be3f3e (patch) | |
tree | 92ca6142a60f235cf70c4a31cda0b7ffc6d68c86 /Zotlabs/Lib/ThreadItem.php | |
parent | e1659b0725c275c2ba5f38a02a0f3fbcec145519 (diff) | |
download | volse-hubzilla-5243dd153bed7fe79188478922a58e8057be3f3e.tar.gz volse-hubzilla-5243dd153bed7fe79188478922a58e8057be3f3e.tar.bz2 volse-hubzilla-5243dd153bed7fe79188478922a58e8057be3f3e.zip |
use config system.server_role and deprecate 'UNO'
Diffstat (limited to 'Zotlabs/Lib/ThreadItem.php')
-rw-r--r-- | Zotlabs/Lib/ThreadItem.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Zotlabs/Lib/ThreadItem.php b/Zotlabs/Lib/ThreadItem.php index 638afeb6b..eee3b2a4f 100644 --- a/Zotlabs/Lib/ThreadItem.php +++ b/Zotlabs/Lib/ThreadItem.php @@ -245,10 +245,11 @@ class ThreadItem { ); } + $server_role = get_config('system','server_role'); $has_bookmarks = false; if(is_array($item['term'])) { foreach($item['term'] as $t) { - if(!UNO && $t['ttype'] == TERM_BOOKMARK) + if(($server_role != 'basic') && ($t['ttype'] == TERM_BOOKMARK)) $has_bookmarks = true; } } |