diff options
| author | Joas Schilling <nickvergessen@gmx.de> | 2015-06-04 17:30:16 +0200 |
|---|---|---|
| committer | Joas Schilling <nickvergessen@gmx.de> | 2015-06-04 17:30:16 +0200 |
| commit | f3f82bd3776047ba99d0ba828ce43ff743e65b02 (patch) | |
| tree | ab1b5270390abaf6b539535871c8f23aacb6c8d0 /phpBB/phpbb/auth/provider/provider_interface.php | |
| parent | 6813735d82d5309327e63d8308988f81554d2299 (diff) | |
| parent | 9005711ad70148c0ee73f648a96dcc720644e9f9 (diff) | |
| download | forums-f3f82bd3776047ba99d0ba828ce43ff743e65b02.tar forums-f3f82bd3776047ba99d0ba828ce43ff743e65b02.tar.gz forums-f3f82bd3776047ba99d0ba828ce43ff743e65b02.tar.bz2 forums-f3f82bd3776047ba99d0ba828ce43ff743e65b02.tar.xz forums-f3f82bd3776047ba99d0ba828ce43ff743e65b02.zip | |
Merge branch '3.1.x'
Diffstat (limited to 'phpBB/phpbb/auth/provider/provider_interface.php')
| -rw-r--r-- | phpBB/phpbb/auth/provider/provider_interface.php | 6 |
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. |
