diff options
author | Joseph Warner <hardolaf@hardolaf.com> | 2013-08-14 16:20:47 -0400 |
---|---|---|
committer | Joseph Warner <hardolaf@hardolaf.com> | 2013-08-14 16:21:06 -0400 |
commit | a2237ea8a78b6569213e095bb89a6b3f878d129b (patch) | |
tree | 858d67e002ce644c4a302c2666c6aad70d5d1e1c | |
parent | 9c91446ef793102f700fc81b1efc54055b1831ba (diff) | |
download | forums-a2237ea8a78b6569213e095bb89a6b3f878d129b.tar forums-a2237ea8a78b6569213e095bb89a6b3f878d129b.tar.gz forums-a2237ea8a78b6569213e095bb89a6b3f878d129b.tar.bz2 forums-a2237ea8a78b6569213e095bb89a6b3f878d129b.tar.xz forums-a2237ea8a78b6569213e095bb89a6b3f878d129b.zip |
[feature/oauth] Add unlink_account to auth interface
PHPBB3-11673
-rw-r--r-- | phpBB/phpbb/auth/provider/base.php | 8 | ||||
-rw-r--r-- | phpBB/phpbb/auth/provider/interface.php | 8 |
2 files changed, 16 insertions, 0 deletions
diff --git a/phpBB/phpbb/auth/provider/base.php b/phpBB/phpbb/auth/provider/base.php index 2f1bf8f601..09e918cee4 100644 --- a/phpBB/phpbb/auth/provider/base.php +++ b/phpBB/phpbb/auth/provider/base.php @@ -101,4 +101,12 @@ abstract class phpbb_auth_provider_base implements phpbb_auth_provider_interface { return; } + + /** + * {@inheritdoc} + */ + public function unlink_account(array $link_data) + { + return; + } } diff --git a/phpBB/phpbb/auth/provider/interface.php b/phpBB/phpbb/auth/provider/interface.php index 21526fd858..4abbd75055 100644 --- a/phpBB/phpbb/auth/provider/interface.php +++ b/phpBB/phpbb/auth/provider/interface.php @@ -166,4 +166,12 @@ interface phpbb_auth_provider_interface * an external account. */ public function link_account(array $link_data); + + /** + * Unlinks an external account from a phpBB account. + * + * @param array $link_data Any data needed to unlink a phpBB account + * from a phpbb account. + */ + public function unlink_account(array $link_data); } |