Skip to content
Snippets Groups Projects
Commit e165ecfd authored by chris's avatar chris
Browse files

admin plugin: fix menu option when auth module doesn't getUsers

darcs-hash:20060505000630-9b6ab-eb1add597db261d8d2843435bcfa22ac8f35a6f5.gz
parent 762fb7d4
No related branches found
No related tags found
No related merge requests found
...@@ -44,7 +44,7 @@ class admin_plugin_usermanager extends DokuWiki_Admin_Plugin { ...@@ -44,7 +44,7 @@ class admin_plugin_usermanager extends DokuWiki_Admin_Plugin {
if (!isset($auth)) { if (!isset($auth)) {
$this->disabled = $this->lang['noauth']; $this->disabled = $this->lang['noauth'];
} else if (!$auth->canDo('getUsers')) { } else if (!$auth->canDo('getUsers')) {
$this->disabled = $this->lang['notsupported']; $this->disabled = $this->lang['nosupport'];
} else { } else {
// we're good to go // we're good to go
...@@ -75,7 +75,7 @@ class admin_plugin_usermanager extends DokuWiki_Admin_Plugin { ...@@ -75,7 +75,7 @@ class admin_plugin_usermanager extends DokuWiki_Admin_Plugin {
if (!is_null($this->_auth)) if (!is_null($this->_auth))
return parent::getMenuText($language); return parent::getMenuText($language);
return $this->getLang["menu"].' '.$this->disabled; return $this->getLang('menu').' '.$this->disabled;
} }
/** /**
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment