diff options
author | Andrew Manning <tamanning@zoho.com> | 2016-07-01 06:36:25 -0400 |
---|---|---|
committer | Andrew Manning <tamanning@zoho.com> | 2016-07-01 06:36:25 -0400 |
commit | 0630609d6e60085f20d1430fd4044775dd9af5e9 (patch) | |
tree | 2556d3a10cf6328dbed962060888f74584b791db /Zotlabs/Module/Wiki.php | |
parent | 205924ff294e5c0d9c57ed9a36dc899fcdd9c460 (diff) | |
parent | 7371e0862543922b65eac920e128ca4ef1348b13 (diff) | |
download | volse-hubzilla-0630609d6e60085f20d1430fd4044775dd9af5e9.tar.gz volse-hubzilla-0630609d6e60085f20d1430fd4044775dd9af5e9.tar.bz2 volse-hubzilla-0630609d6e60085f20d1430fd4044775dd9af5e9.zip |
Merge remote-tracking branch 'upstream/dev' into wiki
Diffstat (limited to 'Zotlabs/Module/Wiki.php')
-rw-r--r-- | Zotlabs/Module/Wiki.php | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Zotlabs/Module/Wiki.php b/Zotlabs/Module/Wiki.php index 6252f7a1a..55a52ea6d 100644 --- a/Zotlabs/Module/Wiki.php +++ b/Zotlabs/Module/Wiki.php @@ -29,6 +29,11 @@ class Wiki extends \Zotlabs\Web\Controller { if(observer_prohibited(true)) { return login(); } + + if(! feature_enabled(\App::$profile_uid,'wiki')) { + notice( t('Not found') . EOL); + return; + } $tab = 'wiki'; |