aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Module
diff options
context:
space:
mode:
authorAndrew Manning <tamanning@zoho.com>2016-05-29 20:39:19 -0400
committerAndrew Manning <tamanning@zoho.com>2016-05-29 20:39:19 -0400
commit00d32f6b947d10b836cf1a4d59dbff3413517fd5 (patch)
tree9f5c31a3a91e65ddcd6fb6049c14c6717f12019c /Zotlabs/Module
parentfad27fc1e791dbe77321d4b45eb6293f8ff97310 (diff)
downloadvolse-hubzilla-00d32f6b947d10b836cf1a4d59dbff3413517fd5.tar.gz
volse-hubzilla-00d32f6b947d10b836cf1a4d59dbff3413517fd5.tar.bz2
volse-hubzilla-00d32f6b947d10b836cf1a4d59dbff3413517fd5.zip
Only show wiki delete control if channel owner
Diffstat (limited to 'Zotlabs/Module')
-rw-r--r--Zotlabs/Module/Wiki.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/Zotlabs/Module/Wiki.php b/Zotlabs/Module/Wiki.php
index b369221c8..3c1f14a9b 100644
--- a/Zotlabs/Module/Wiki.php
+++ b/Zotlabs/Module/Wiki.php
@@ -78,6 +78,7 @@ class Wiki extends \Zotlabs\Web\Controller {
if(argc()<3) {
// GET /wiki/channel
+ $channel = get_channel_by_nick(argv(1));
$wikiheader = t('Wiki Sandbox');
$content = '"# Wiki Sandbox\n\nContent you **edit** and **preview** here *will not be saved*."';
$hide_editor = false;