mgd_copy_topic

(Midgard 1.4.2 'Bifrost')

mgd_copy_topic -- Copy a topic

Description

int mgd_copy_topic (int id, int [topic])

Minimum version: Midgard 1.4 (Bifrost)

Copies the topic with id id. If the optional parameter topic is given, the copy will reside under that topic.

Returns the id of the created copy if successful. Returns FALSE on failure.


<?php
 $newtopic = mgd_copy_topic(13);
?>