summaryrefslogtreecommitdiff
path: root/lib/plugins/extension/helper
diff options
context:
space:
mode:
authorGerrit Uitslag <klapinklapin@gmail.com>2014-12-09 17:26:28 +0100
committerGerrit Uitslag <klapinklapin@gmail.com>2014-12-09 17:26:28 +0100
commit8702de7f7e170bddfdb622c393c3cac3446fd1c5 (patch)
treec7269ea61f5d4230a6f916dbabee4ce412e0a9fb /lib/plugins/extension/helper
parent1cc82e5c76ae7fcd646e448404afdc0fd458bf55 (diff)
parent9a0ca2cfd8ac42895af3be2efbd2cab7e6d33578 (diff)
downloadrpg-8702de7f7e170bddfdb622c393c3cac3446fd1c5.tar.gz
rpg-8702de7f7e170bddfdb622c393c3cac3446fd1c5.tar.bz2
Merge remote-tracking branch 'origin/master' into scrutinizerissues
Conflicts: inc/media.php inc/plugin.php inc/template.php lib/plugins/authplain/_test/escaping.test.php lib/plugins/syntax.php
Diffstat (limited to 'lib/plugins/extension/helper')
-rw-r--r--lib/plugins/extension/helper/list.php5
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/plugins/extension/helper/list.php b/lib/plugins/extension/helper/list.php
index 6fc8c63b1..872cccc8c 100644
--- a/lib/plugins/extension/helper/list.php
+++ b/lib/plugins/extension/helper/list.php
@@ -460,6 +460,7 @@ class helper_plugin_extension_list extends DokuWiki_Plugin {
* @return string The HTML code
*/
function make_actions(helper_plugin_extension_extension $extension) {
+ global $conf;
$return = '';
$errors = '';
@@ -491,6 +492,10 @@ class helper_plugin_extension_list extends DokuWiki_Plugin {
$errors .= '<p class="permerror">'.$this->getLang('git').'</p>';
}
+ if ($extension->isEnabled() && in_array('Auth', $extension->getTypes()) && $conf['auth'] != $extension->getID()) {
+ $errors .= '<p class="permerror">'.$this->getLang('auth').'</p>';
+ }
+
}else{
if (($canmod = $extension->canModify()) === true) {
if ($extension->getDownloadURL()) {