diff options
author | Callum Macrae <callumacrae95@gmail.com> | 2011-02-24 14:13:45 +0000 |
---|---|---|
committer | Callum Macrae <callumacrae95@gmail.com> | 2011-02-24 14:53:44 +0000 |
commit | e6219c83c7302424f670d4160798db4952a48f0c (patch) | |
tree | 73a93e268084fe403d44784211876eabbbca941b /phpBB/docs/coding-guidelines.html | |
parent | 5e2bbdb22b82102c9bb2a1f040ad2755e545941e (diff) | |
download | forums-e6219c83c7302424f670d4160798db4952a48f0c.tar forums-e6219c83c7302424f670d4160798db4952a48f0c.tar.gz forums-e6219c83c7302424f670d4160798db4952a48f0c.tar.bz2 forums-e6219c83c7302424f670d4160798db4952a48f0c.tar.xz forums-e6219c83c7302424f670d4160798db4952a48f0c.zip |
[ticket/9872] Removed some useless code that broke delete_posts
When in the ACP, there is the option to delete a user and all their
posts. This would then call the user_delete function and define $mode as
'remove'.
On lines 485-521 was some code that would delete their topics, then
after that there would be a call to delete_posts - which would also
delete their topics. It would not update the board statistics, and the
thread count would remain the same, even though several had been
deleted. It stopped delete_topics functioning correctly, so
delete_topics would not update the board statistics either.
My solution to this is to delete lines 485-521 and allow delete_posts
to call delete_topics, thus updating the thread count in the statistics.
PHPBB3-9872
Diffstat (limited to 'phpBB/docs/coding-guidelines.html')
0 files changed, 0 insertions, 0 deletions