summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorPatrick Brown <ptbrown@whoopdedo.org>2015-05-07 01:43:32 -0400
committerPatrick Brown <ptbrown@whoopdedo.org>2015-05-07 01:43:32 -0400
commite6c4392f11bb5a668be8e874560af910b71d72f8 (patch)
treea3d9a3961e4ae52a903b6b31825b9d0f50c15834 /lib
parent8f03c311f28eaffe92893ec1a4d0b78581926e13 (diff)
downloadrpg-e6c4392f11bb5a668be8e874560af910b71d72f8.tar.gz
rpg-e6c4392f11bb5a668be8e874560af910b71d72f8.tar.bz2
Fix scrutinizer issues with auth
Diffstat (limited to 'lib')
-rw-r--r--lib/plugins/auth.php2
-rw-r--r--lib/plugins/authldap/lang/en/lang.php2
2 files changed, 2 insertions, 2 deletions
diff --git a/lib/plugins/auth.php b/lib/plugins/auth.php
index 4799b3a38..036cb0d77 100644
--- a/lib/plugins/auth.php
+++ b/lib/plugins/auth.php
@@ -295,7 +295,7 @@ class DokuWiki_Auth_Plugin extends DokuWiki_Plugin {
*/
public function deleteUsers($users) {
msg("authorisation method does not allow deleting of users", -1);
- return false;
+ return 0;
}
/**
diff --git a/lib/plugins/authldap/lang/en/lang.php b/lib/plugins/authldap/lang/en/lang.php
index db06efb4c..8185a84fa 100644
--- a/lib/plugins/authldap/lang/en/lang.php
+++ b/lib/plugins/authldap/lang/en/lang.php
@@ -6,6 +6,6 @@
*/
$lang['connectfail'] = 'LDAP cannot connect: %s';
-$lang['domainfail' = 'LDAP cannot find your user dn';
+$lang['domainfail'] = 'LDAP cannot find your user dn';
//Setup VIM: ex: et ts=4 :