I added the copy functionality for wiki pages

Review Request #27 - Created Nov. 15, 2008 and submitted

Information
Andrei Grigorean
infoarena
Reviewers
hackers
Most of the code was copy pasted from the move functionality

Mircea Pasoi
Bogdan-Cristian Tătăroiu
Bogdan-Cristian Tătăroiu

Mircea Pasoi

trunk/common/db/textblock.php (Diff revision 3)
 
 
Why not use textblock_add_revision? Shouldn't you also set the timestamps and the user id?
  1. There were some changes to this patch in revision 956 (http://hackers.devnet.ro/changeset/956) which added changing of timestamp and userid. All that's left is changing db_insert with textblock_add_revision.
Loading...