diff options
author | Mario <mario@mariovavti.com> | 2020-04-23 18:19:25 +0000 |
---|---|---|
committer | Mario <mario@mariovavti.com> | 2020-04-23 18:19:25 +0000 |
commit | b7a655917ed1f7caa5b8b3d9b92fdd578c6252c4 (patch) | |
tree | 429a60947cdad2d19b05122f6f55ac8480ed6b7b /Zotlabs/Lib/NativeWiki.php | |
parent | d8bfa5dd9614a3e7b8c167d2a76f86c30ad51f2d (diff) | |
download | volse-hubzilla-b7a655917ed1f7caa5b8b3d9b92fdd578c6252c4.tar.gz volse-hubzilla-b7a655917ed1f7caa5b8b3d9b92fdd578c6252c4.tar.bz2 volse-hubzilla-b7a655917ed1f7caa5b8b3d9b92fdd578c6252c4.zip |
some work on deprecating ACTIVITY_OBJ_FILE
Diffstat (limited to 'Zotlabs/Lib/NativeWiki.php')
-rw-r--r-- | Zotlabs/Lib/NativeWiki.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Zotlabs/Lib/NativeWiki.php b/Zotlabs/Lib/NativeWiki.php index 6bda76eee..3ec032075 100644 --- a/Zotlabs/Lib/NativeWiki.php +++ b/Zotlabs/Lib/NativeWiki.php @@ -73,7 +73,7 @@ class NativeWiki { $arr['item_thread_top'] = 1; $arr['item_private'] = intval($acl->is_private()); $arr['verb'] = ACTIVITY_CREATE; - $arr['obj_type'] = ACTIVITY_OBJ_WIKI; + $arr['obj_type'] = 'Document'; $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); |