aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/auth/provider/interface.php
diff options
context:
space:
mode:
authorJoseph Warner <hardolaf@hardolaf.com>2013-07-12 15:53:36 -0400
committerJoseph Warner <hardolaf@hardolaf.com>2013-07-12 15:54:41 -0400
commit631ce22f2c33999229bf05af35e025fb8d399417 (patch)
treefc34115a2d13d6cfb74c6e0eff747df387f0c9e4 /phpBB/includes/auth/provider/interface.php
parentf24a8e5b8150bcd892585531585ef46f49db0ef7 (diff)
downloadforums-631ce22f2c33999229bf05af35e025fb8d399417.tar
forums-631ce22f2c33999229bf05af35e025fb8d399417.tar.gz
forums-631ce22f2c33999229bf05af35e025fb8d399417.tar.bz2
forums-631ce22f2c33999229bf05af35e025fb8d399417.tar.xz
forums-631ce22f2c33999229bf05af35e025fb8d399417.zip
[ticket/11626] Remove LDAP dependency on template
Returns template vars rather than requiring the template. PHPBB3-11626
Diffstat (limited to 'phpBB/includes/auth/provider/interface.php')
-rw-r--r--phpBB/includes/auth/provider/interface.php11
1 files changed, 8 insertions, 3 deletions
diff --git a/phpBB/includes/auth/provider/interface.php b/phpBB/includes/auth/provider/interface.php
index 40c48026cf..47043bc107 100644
--- a/phpBB/includes/auth/provider/interface.php
+++ b/phpBB/includes/auth/provider/interface.php
@@ -72,9 +72,14 @@ interface phpbb_auth_provider_interface
* provider.
* @param array $new_config Contains the new configuration values that
* have been set in acp_board.
- * @return string|null Returns null if not implemented or a string
- * containing the name of the acp tempalte file for
- * the authentication provider.
+ * @return array|null Returns null if not implemented or an array with
+ * the template file name and an array of the vars
+ * that the template needs that must conform to the
+ * following example:
+ * array(
+ * 'TEMPLATE_FILE' => string,
+ * 'TEMPLATE_VARS' => array(...),
+ * )
*/
public function get_acp_template($new_config);