Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

只能注销一次 #1

Open
ghost opened this issue Dec 23, 2020 · 4 comments
Open

只能注销一次 #1

ghost opened this issue Dec 23, 2020 · 4 comments

Comments

@ghost
Copy link

ghost commented Dec 23, 2020

注销账户之后,用学号和验证码重新登录pkuhelper,然后尝试再次注销账户就不行了

@ghost
Copy link
Author

ghost commented Dec 23, 2020

file_exists("deleted/" . $uData->uid)这个条件在第二次注销的时候会判定为true,
perform deletions...那几条语句在第二次注销的时候不会执行

@jimmielin
Copy link
Owner

的确,不小心把deletions的语句写到下面 else 里去了,也无法fix了 😂

@ghost
Copy link
Author

ghost commented Dec 26, 2020

好叭😂,请问一下树洞这个自己举报删帖的功能是直接把帖子从数据库里删了,还是只是加了个隐藏标记不向前台显示这条帖子呀?

@jimmielin
Copy link
Owner

树洞所有数据永久保留。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant