reattributePosts

Description

Used to re-associate posts to a particular member.

Syntax

void reattributePosts (int $memID[, mixed $email[, bool $post_count]])



Parameter $memID

Expected type: Integer
Description: The member ID



Parameter $email

Expected type: Mixed
Description: Either the member's email address or "false" to let SMF automatically find it.

Allowed types for $email
Allowed values Description
Boolean false (default value) - SMF will automatically find the member's email address
String The email address to use for this member's posts



Parameter $post_count

Expected type: Boolean
Description: Whether or not the user's post count should be updated. Default is false.


Notes

  • Moved to Subs-Members.php in 1.1
Advertisement: