aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/phpbb/auth/provider/provider_interface.php
diff options
context:
space:
mode:
authorJoas Schilling <nickvergessen@gmx.de>2015-06-04 17:30:09 +0200
committerJoas Schilling <nickvergessen@gmx.de>2015-06-04 17:30:09 +0200
commit9005711ad70148c0ee73f648a96dcc720644e9f9 (patch)
treef9404cf36d5b750bfd4a2a8efa3e2c4068205a35 /phpBB/phpbb/auth/provider/provider_interface.php
parentdb3782e4912e2945a546309dab38a4c00bd0f5c5 (diff)
parentc5178a19b244c15ff0ca5445972c7efc93c54ac4 (diff)
downloadforums-9005711ad70148c0ee73f648a96dcc720644e9f9.tar
forums-9005711ad70148c0ee73f648a96dcc720644e9f9.tar.gz
forums-9005711ad70148c0ee73f648a96dcc720644e9f9.tar.bz2
forums-9005711ad70148c0ee73f648a96dcc720644e9f9.tar.xz
forums-9005711ad70148c0ee73f648a96dcc720644e9f9.zip
Merge pull request #3502 from marc1706/ticket/13564
[ticket/13564] Unlink user accounts upon deleting user
Diffstat (limited to 'phpBB/phpbb/auth/provider/provider_interface.php')
-rw-r--r--phpBB/phpbb/auth/provider/provider_interface.php6
1 files changed, 5 insertions, 1 deletions
diff --git a/phpBB/phpbb/auth/provider/provider_interface.php b/phpBB/phpbb/auth/provider/provider_interface.php
index 613297cefc..35e0f559a1 100644
--- a/phpBB/phpbb/auth/provider/provider_interface.php
+++ b/phpBB/phpbb/auth/provider/provider_interface.php
@@ -166,6 +166,10 @@ interface provider_interface
/**
* Returns an array of data necessary to build the ucp_auth_link page
*
+ * @param int $user_id User ID for whom the data should be retrieved.
+ * defaults to 0, which is not a valid ID. The method
+ * should fall back to the current user's ID in this
+ * case.
* @return array|null If this function is not implemented on an auth
* provider then it returns null. If it is implemented
* it will return an array of up to four elements of
@@ -181,7 +185,7 @@ interface provider_interface
* 'VARS' => array(...),
* )
*/
- public function get_auth_link_data();
+ public function get_auth_link_data($user_id = 0);
/**
* Unlinks an external account from a phpBB account.