Messages in your inbox or outbox dont get deleted from the "pm" part of the mysql database when the user deletes them. however since the message is used in the inbox of the receiving user and also goes into the outbox of the user that wrote it, then pm should only be deleted from the database if both users have deleted it.