diff options
author | zotlabs <mike@macgirvin.com> | 2017-03-09 14:17:14 -0800 |
---|---|---|
committer | zotlabs <mike@macgirvin.com> | 2017-03-09 14:17:14 -0800 |
commit | 15d422db80234d220f0ead0b5554f82f50e571e7 (patch) | |
tree | fff7e2fb2d4a4bd05f9e91e7a7328b71e6d3e755 /Zotlabs/Lib/NativeWiki.php | |
parent | b6477cd38b532ebe69a480460e7b883964ec6627 (diff) | |
parent | 15ab331b6b5793d04979e204af92084e8d5bb03c (diff) | |
download | volse-hubzilla-15d422db80234d220f0ead0b5554f82f50e571e7.tar.gz volse-hubzilla-15d422db80234d220f0ead0b5554f82f50e571e7.tar.bz2 volse-hubzilla-15d422db80234d220f0ead0b5554f82f50e571e7.zip |
Merge branch 'dspr' into red
Diffstat (limited to 'Zotlabs/Lib/NativeWiki.php')
-rw-r--r-- | Zotlabs/Lib/NativeWiki.php | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Zotlabs/Lib/NativeWiki.php b/Zotlabs/Lib/NativeWiki.php index 519102d24..7786ec25a 100644 --- a/Zotlabs/Lib/NativeWiki.php +++ b/Zotlabs/Lib/NativeWiki.php @@ -75,6 +75,8 @@ class NativeWiki { $arr['obj_type'] = ACTIVITY_OBJ_WIKI; $arr['body'] = '[table][tr][td][h1]New Wiki[/h1][/td][/tr][tr][td][zrl=' . $wiki_url . ']' . $wiki['htmlName'] . '[/zrl][/td][/tr][/table]'; + $arr['public_policy'] = map_scope(\Zotlabs\Access\PermissionLimits::Get($channel['channel_id'],'view_wiki'),true); + // Save the wiki name information using iconfig. This is shareable. if(! set_iconfig($arr, 'wiki', 'rawName', $wiki['rawName'], true)) { return array('item' => null, 'success' => false); |