diff options
author | zotlabs <mike@macgirvin.com> | 2017-08-10 20:34:20 -0700 |
---|---|---|
committer | zotlabs <mike@macgirvin.com> | 2017-08-10 20:34:20 -0700 |
commit | 5f6eedcc1a6e719c2ac6fa93219f700e0d430b59 (patch) | |
tree | 0c744404bd2ccab4a22e431bf4a1f98933f3e8d2 /Zotlabs/Widget/Wiki_pages.php | |
parent | 7cec3f4dbf53d64ab5d7fd579e98bbdf56a7a605 (diff) | |
parent | 7892ed9e77949b0e05cfc4e1b8fd17e6188c5f01 (diff) | |
download | volse-hubzilla-5f6eedcc1a6e719c2ac6fa93219f700e0d430b59.tar.gz volse-hubzilla-5f6eedcc1a6e719c2ac6fa93219f700e0d430b59.tar.bz2 volse-hubzilla-5f6eedcc1a6e719c2ac6fa93219f700e0d430b59.zip |
Merge branch 'dev' of https://github.com/redmatrix/hubzilla into xdev_merge
Diffstat (limited to 'Zotlabs/Widget/Wiki_pages.php')
-rw-r--r-- | Zotlabs/Widget/Wiki_pages.php | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/Zotlabs/Widget/Wiki_pages.php b/Zotlabs/Widget/Wiki_pages.php index 53966b06f..7285e2b42 100644 --- a/Zotlabs/Widget/Wiki_pages.php +++ b/Zotlabs/Widget/Wiki_pages.php @@ -11,14 +11,8 @@ class Wiki_pages { return; if(! $arr['resource_id']) { - - $c = \App::get_channel(); - - if(! $c) - $c = channelx_by_nick(argv(1)); - + $c = channelx_by_nick(argv(1)); $w = \Zotlabs\Lib\NativeWiki::exists_by_name($c['channel_id'],argv(2)); - $arr = array( 'resource_id' => $w['resource_id'], 'channel_id' => $c['channel_id'], |