Undelete all private messages for a user

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Assim
    Senior Member
    • Oct 2006
    • 336
    • 3.8.x

    Undelete all private messages for a user

    Hello,

    I wanted to undelete all the private messages for user id 1 in my forum, although I know there isn't a feature to do that but the messages are in the database, so I wanted to ask, how can I undelete all the messages from the inbox and sent items for user id 1 using a MySQL query?

    Thanks,
    Assim
  • Assim
    Senior Member
    • Oct 2006
    • 336
    • 3.8.x

    #2
    In the pm table, there is a column called messageread, and there are 3 different values which are 0, 1, 2.

    Do they mean like this:
    0: Unread
    1: Read
    2: Deleted

    Is that correct?

    Comment

    • Assim
      Senior Member
      • Oct 2006
      • 336
      • 3.8.x

      #3
      Nevermind, I just found out that it's impossible to do that, they get deleted from the database anyway.

      Comment

      Related Topics

      Collapse

      Working...