disable wiki if feature disabled, sync updates of delayed publish posts

This commit is contained in:
redmatrix
2016-06-30 21:27:59 -07:00
parent 7f8dcf4f12
commit bd403276f2
3 changed files with 17 additions and 2 deletions

View File

@@ -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';