diff options
author | Marc Alexander <admin@m-a-styles.de> | 2018-10-08 22:07:35 +0200 |
---|---|---|
committer | Marc Alexander <admin@m-a-styles.de> | 2018-10-08 22:07:35 +0200 |
commit | b8c5537948f81d36cedc75d1eaed0c8a2938c980 (patch) | |
tree | 4729b08e8ef953346b7293cbe6f18d061500e01e /phpBB/includes/functions_user.php | |
parent | 13fe7b3ed22dbaeb2e2c9725ed38740a3b68e10a (diff) | |
parent | 0f10c6ff6f0537c9cb00f6007b6bee9944e6587a (diff) | |
download | forums-b8c5537948f81d36cedc75d1eaed0c8a2938c980.tar forums-b8c5537948f81d36cedc75d1eaed0c8a2938c980.tar.gz forums-b8c5537948f81d36cedc75d1eaed0c8a2938c980.tar.bz2 forums-b8c5537948f81d36cedc75d1eaed0c8a2938c980.tar.xz forums-b8c5537948f81d36cedc75d1eaed0c8a2938c980.zip |
Merge pull request #5343 from senky/ticket/15716
[ticket/15716] Remove OAuth data upon user deletion
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 f7be2d2760..f4b60d7ad4 100644 --- a/phpBB/includes/functions_user.php +++ b/phpBB/includes/functions_user.php @@ -666,7 +666,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) |