From 7848d3fbec08155edae1b0a9cc8f44eac8d34519 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Tim=20D=C3=BCsterhus?= Date: Tue, 16 Mar 2021 11:26:25 +0100 Subject: [PATCH] Deprecate UserProfile::isConnectedWith*() --- .../files/lib/data/user/UserProfile.class.php | 16 ++++------------ 1 file changed, 4 insertions(+), 12 deletions(-) diff --git a/wcfsetup/install/files/lib/data/user/UserProfile.class.php b/wcfsetup/install/files/lib/data/user/UserProfile.class.php index 7d5c3f9b83..f71e30001b 100644 --- a/wcfsetup/install/files/lib/data/user/UserProfile.class.php +++ b/wcfsetup/install/files/lib/data/user/UserProfile.class.php @@ -998,9 +998,7 @@ class UserProfile extends DatabaseObjectDecorator implements ITitledLinkObject } /** - * Returns true if the current user is connected with Facebook. - * - * @return bool + * @deprecated 5.4 This method is unused internally and redundant with User:.getAuthProvider() */ public function isConnectedWithFacebook() { @@ -1008,9 +1006,7 @@ class UserProfile extends DatabaseObjectDecorator implements ITitledLinkObject } /** - * Returns true if the current user is connected with GitHub. - * - * @return bool + * @deprecated 5.4 This method is unused internally and redundant with User:.getAuthProvider() */ public function isConnectedWithGithub() { @@ -1018,9 +1014,7 @@ class UserProfile extends DatabaseObjectDecorator implements ITitledLinkObject } /** - * Returns true if the current user is connected with Google Plus. - * - * @return bool + * @deprecated 5.4 This method is unused internally and redundant with User:.getAuthProvider() */ public function isConnectedWithGoogle() { @@ -1028,9 +1022,7 @@ class UserProfile extends DatabaseObjectDecorator implements ITitledLinkObject } /** - * Returns true if the current user is connected with Twitter. - * - * @return bool + * @deprecated 5.4 This method is unused internally and redundant with User:.getAuthProvider() */ public function isConnectedWithTwitter() { -- 2.20.1