aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Widget/Wiki_list.php
diff options
context:
space:
mode:
authorMario Vavti <mario@mariovavti.com>2018-10-29 22:55:24 +0100
committerMario Vavti <mario@mariovavti.com>2018-10-29 22:55:24 +0100
commit0d2c3be367835e09fae0e3e12ab7f0af86f8465c (patch)
treef01fa0d8fcf3da8dd41e1ee2d01c7a91870da8fb /Zotlabs/Widget/Wiki_list.php
parent0f19627407ccd373afe1ce2d2347ea240f3195c1 (diff)
downloadvolse-hubzilla-0d2c3be367835e09fae0e3e12ab7f0af86f8465c.tar.gz
volse-hubzilla-0d2c3be367835e09fae0e3e12ab7f0af86f8465c.tar.bz2
volse-hubzilla-0d2c3be367835e09fae0e3e12ab7f0af86f8465c.zip
allow wiki_list widget to be used in any page
Diffstat (limited to 'Zotlabs/Widget/Wiki_list.php')
-rw-r--r--Zotlabs/Widget/Wiki_list.php4
1 files changed, 0 insertions, 4 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());