diff options
author | Mario Vavti <mario@mariovavti.com> | 2018-10-29 22:55:24 +0100 |
---|---|---|
committer | Mario Vavti <mario@mariovavti.com> | 2018-10-29 22:55:24 +0100 |
commit | 0d2c3be367835e09fae0e3e12ab7f0af86f8465c (patch) | |
tree | f01fa0d8fcf3da8dd41e1ee2d01c7a91870da8fb | |
parent | 0f19627407ccd373afe1ce2d2347ea240f3195c1 (diff) | |
download | volse-hubzilla-0d2c3be367835e09fae0e3e12ab7f0af86f8465c.tar.gz volse-hubzilla-0d2c3be367835e09fae0e3e12ab7f0af86f8465c.tar.bz2 volse-hubzilla-0d2c3be367835e09fae0e3e12ab7f0af86f8465c.zip |
allow wiki_list widget to be used in any page
-rw-r--r-- | Zotlabs/Widget/Wiki_list.php | 4 | ||||
-rw-r--r-- | view/pdl/mod_wiki.pdl | 1 |
2 files changed, 0 insertions, 5 deletions
diff --git a/Zotlabs/Widget/Wiki_list.php b/Zotlabs/Widget/Wiki_list.php index c8d83cbe8..64c988ee7 100644 --- a/Zotlabs/Widget/Wiki_list.php +++ b/Zotlabs/Widget/Wiki_list.php @@ -6,10 +6,6 @@ class Wiki_list { function widget($arr) { - if(argc() < 3) { - return; - } - $channel = channelx_by_n(\App::$profile_uid); $wikis = \Zotlabs\Lib\NativeWiki::listwikis($channel,get_observer_hash()); diff --git a/view/pdl/mod_wiki.pdl b/view/pdl/mod_wiki.pdl index 2e99ea36b..be86be7e3 100644 --- a/view/pdl/mod_wiki.pdl +++ b/view/pdl/mod_wiki.pdl @@ -1,6 +1,5 @@ [region=aside] [widget=vcard][/widget] -[widget=wiki_list][/widget] [widget=wiki_pages][/widget] [/region] [region=right_aside] |