Added a test on useacl option before any ACL action

This commit is contained in:
Simon DELAGE 2015-01-11 13:26:26 +01:00
parent 59e3545e3f
commit 896f344cea
1 changed files with 1 additions and 1 deletions

View File

@ -116,7 +116,7 @@ class action_plugin_userhomepage extends DokuWiki_Action_Plugin{
function acl(&$event, $param) {
global $conf;
if (!$this->getConf('no_acl')) {
if ((!$this->getConf('no_acl')) && ($conf['useacl'])) {
// ACL
$acl = new admin_plugin_acl();
// On private namespace