Show
Ignore:
Timestamp:
10/20/08 00:03:15 (3 years ago)
Author:
dom
Message:

write_node: return the version of the node that was just committed, if successful (fixes #42)

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • wiki-toolkit/trunk/lib/Wiki/Toolkit/Store/Pg.pm

    r431 r466  
    4646Locks the node, verifies the checksum, calls 
    4747C<write_node_post_locking> with all supplied arguments, unlocks the 
    48 node. Returns 1 on successful writing, 0 if checksum doesn't match, 
    49 croaks on error. 
     48node. Returns the version of the updated node on successful writing, 0 if 
     49checksum doesn't match, croaks on error. 
    5050 
    5151=cut