Commit 47a9f89dbf5c251171b0615ed33f19efb29e0125
1 parent
b4efa3ac
Allow authentication providers to have human-usable names.
git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@4175 c91229c3-7414-0410-bfa2-8a42b809f60b
Showing
1 changed file
with
2 additions
and
2 deletions
lib/plugins/plugin.inc.php
| ... | ... | @@ -45,9 +45,9 @@ class KTPlugin { |
| 45 | 45 | return sprintf('/plugin.php/%s/%s', $this->sNamespace, $sPath); |
| 46 | 46 | } |
| 47 | 47 | |
| 48 | - function registerAuthenticationProvider($sClass, $sNamespace, $sFilename = null) { | |
| 48 | + function registerAuthenticationProvider($sName, $sClass, $sNamespace, $sFilename = null) { | |
| 49 | 49 | $sFilename = $this->_fixFilename($sFilename); |
| 50 | - $this->_aAuthenticationProviders[$sNamespace] = array($sClass, $sNamespace, $sFilename, $this->sNamespace); | |
| 50 | + $this->_aAuthenticationProviders[$sNamespace] = array($sName, $sClass, $sNamespace, $sFilename, $this->sNamespace); | |
| 51 | 51 | } |
| 52 | 52 | |
| 53 | 53 | //registerLocation($sName, $sClass, $sCategory, $sTitle, $sDescription, $sDispatcherFilePath = null, $sURL = null) | ... | ... |