diff options
author | Jakub Senko <jakubsenko@gmail.com> | 2018-09-06 14:31:57 +0200 |
---|---|---|
committer | Jakub Senko <jakubsenko@gmail.com> | 2018-09-06 21:34:19 +0200 |
commit | 0f10c6ff6f0537c9cb00f6007b6bee9944e6587a (patch) | |
tree | 29a43a0064b296208c1adec3190662e45804e810 /phpBB/includes/functions_user.php | |
parent | bd90a5358969e2bb82df34727ed8f6575781e5d2 (diff) | |
download | forums-0f10c6ff6f0537c9cb00f6007b6bee9944e6587a.tar forums-0f10c6ff6f0537c9cb00f6007b6bee9944e6587a.tar.gz forums-0f10c6ff6f0537c9cb00f6007b6bee9944e6587a.tar.bz2 forums-0f10c6ff6f0537c9cb00f6007b6bee9944e6587a.tar.xz forums-0f10c6ff6f0537c9cb00f6007b6bee9944e6587a.zip |
[ticket/15716] Remove OAuth data upon user deletion
PHPBB3-15716
Diffstat (limited to 'phpBB/includes/functions_user.php')
-rw-r--r-- | phpBB/includes/functions_user.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/includes/functions_user.php b/phpBB/includes/functions_user.php index 245d263720..0e57795eea 100644 --- a/phpBB/includes/functions_user.php +++ b/phpBB/includes/functions_user.php @@ -664,7 +664,7 @@ function user_delete($mode, $user_ids, $retain_username = true) delete_posts('poster_id', $user_ids); } - $table_ary = array(USERS_TABLE, USER_GROUP_TABLE, TOPICS_WATCH_TABLE, FORUMS_WATCH_TABLE, ACL_USERS_TABLE, TOPICS_TRACK_TABLE, TOPICS_POSTED_TABLE, FORUMS_TRACK_TABLE, PROFILE_FIELDS_DATA_TABLE, MODERATOR_CACHE_TABLE, DRAFTS_TABLE, BOOKMARKS_TABLE, SESSIONS_KEYS_TABLE, PRIVMSGS_FOLDER_TABLE, PRIVMSGS_RULES_TABLE); + $table_ary = array(USERS_TABLE, USER_GROUP_TABLE, TOPICS_WATCH_TABLE, FORUMS_WATCH_TABLE, ACL_USERS_TABLE, TOPICS_TRACK_TABLE, TOPICS_POSTED_TABLE, FORUMS_TRACK_TABLE, PROFILE_FIELDS_DATA_TABLE, MODERATOR_CACHE_TABLE, DRAFTS_TABLE, BOOKMARKS_TABLE, SESSIONS_KEYS_TABLE, PRIVMSGS_FOLDER_TABLE, PRIVMSGS_RULES_TABLE, $phpbb_container->getParameter('tables.auth_provider_oauth_token_storage'), $phpbb_container->getParameter('tables.auth_provider_oauth_states'), $phpbb_container->getParameter('tables.auth_provider_oauth_account_assoc')); // Delete the miscellaneous (non-post) data for the user foreach ($table_ary as $table) |