Searching for items now always searches public entries from the central item storage with uid=0.
This commit is contained in:
parent
7d2da9be02
commit
a97d4383a1
2 changed files with 37 additions and 8 deletions
|
|
@ -20,8 +20,8 @@ function add_thread($itemid, $onlyshadow = false) {
|
|||
}
|
||||
|
||||
// Store a shadow copy of public items for displaying a global community page?
|
||||
if (!get_config('system', 'global_community'))
|
||||
return;
|
||||
//if (!get_config('system', 'global_community'))
|
||||
// return;
|
||||
|
||||
// is it already a copy?
|
||||
if (($itemid == 0) OR ($item['uid'] == 0))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue