Current time: 02-07-2012, 05:29 AM Hello There, Guest! (LoginRegister)


 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[F] Warnings not deleted when member deleted [C-Michael83]
03-29-2009, 06:29 AM
Post: #1
[F] Warnings not deleted when member deleted [C-Michael83]
This user has been denied support. This user has been denied support.
As per title..

In the user.php for admincp...


Code:
        // Delete the user
        $db->update_query("posts", array('uid' => 0), "uid='{$user['uid']}'");
        $db->delete_query("userfields", "ufid='{$user['uid']}'");
        $db->delete_query("privatemessages", "uid='{$user['uid']}'");
        $db->delete_query("events", "uid='{$user['uid']}'");
        $db->delete_query("moderators", "uid='{$user['uid']}'");
        $db->delete_query("forumsubscriptions", "uid='{$user['uid']}'");
        $db->delete_query("threadsubscriptions", "uid='{$user['uid']}'");
        $db->delete_query("sessions", "uid='{$user['uid']}'");
        $db->delete_query("banned", "uid='{$user['uid']}'");
        $db->delete_query("threadratings", "uid='{$user['uid']}'");
        $db->delete_query("users", "uid='{$user['uid']}'");

A line needs to be added for warnings. This might be why warning points are not being removed sometimes. Either way it's a bug.

New MyBB plugin is "IPLH (IP Log History) v1.0".
[Image: 468x60_SF.gif]
Vote for MyBB to add a Security section.
Visit this user's website Find all posts by this user
03-30-2009, 12:31 AM
Post: #2
[F] Warnings not deleted when member deleted
Thank you for your bug report.

This bug has been fixed in our internal code repository. Please note that the problem will not be fixed here until these forums are updated.

With regards,
MyBB Group
Visit this user's website Find all posts by this user


Forum Jump:


User(s) browsing this thread: 1 Guest(s)

Contact Us | MyBB | Return to Top | Return to Content | Lite (Archive) Mode | RSS Syndication