Navigation

Search

moveTopics

Description

Performs the changes needed to move topics to new boards.

Syntax

void moveTopics (array $topics, int $toBoard)



Parameter $topics

Expected type: Array of Integers
Description: An array of topics to be moved



Parameter $toBoard

Expected type: Integer
Description: The ID of the board the topic(s) should be moved to.


Notes

  • Updates message, topic and calendar statistics.
  • Does not check permissions. (assumes they have already been checked!)
View all versions of this function