diff options
author | M. Dent <dentm42@gmail.com> | 2018-10-31 01:24:32 +0100 |
---|---|---|
committer | M. Dent <dentm42@gmail.com> | 2018-10-31 01:24:32 +0100 |
commit | 944e168120ee1619ddc3d7d2ba06c34e59e3e803 (patch) | |
tree | f01fa0d8fcf3da8dd41e1ee2d01c7a91870da8fb | |
parent | 0f19627407ccd373afe1ce2d2347ea240f3195c1 (diff) | |
parent | 0d2c3be367835e09fae0e3e12ab7f0af86f8465c (diff) | |
download | volse-hubzilla-944e168120ee1619ddc3d7d2ba06c34e59e3e803.tar.gz volse-hubzilla-944e168120ee1619ddc3d7d2ba06c34e59e3e803.tar.bz2 volse-hubzilla-944e168120ee1619ddc3d7d2ba06c34e59e3e803.zip |
Merge branch 'wikilist-widget' into 'dev'
allow wiki_list widget to be used in any page
See merge request hubzilla/core!1359
-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] |