CVS messages

CVS (Concurrent Versions System) is a code management system used by developers to collaborate and track modifications of code.

    January 28, 2006

    • Commit #24855 by puregin at 07:27
        - wrapped 'foreach()' loop in make_links() in a test to ensure array is nonempty
            (fixes bug http://drupal.org/node/46708)
          - deal with bug where creating a new book containing a 'new node' - one with
            no nid - confuses 'make_links()'.  This happens because the new node has
            no original nid; thus there is an entry [] => new_id in the array $new_nid.
            But when we look up the parent of a root node, it is empty, and when we
            look up the corresponding new nid, we get the new nid of the new node,
            rather than the root node.
          - renamed utility functions to avoid name collisions
          - refactored function definitions to remove $new_nid and $parent_of params
          - moved global arrays $new_nid and $parent_of into this file, since these
            are used here and only here.

    January 27, 2006

    • Commit #24778 by puregin at 06:45
        - corrected incorrect function call: get_md5()  should be get_md5_body()
          - corrected name of field: nodetype rather than type
          - changed order of assignments to fields to match the order in which
            they appear in database tables
          - updated code to match new behaviour of node_save() (nid is not returned now)
          - refactored update, insert cases into functions for ease of maintenance
          - use node_save() rather than doing updates to database tables by hand
          - fixed some bugs with variables not being properly initialized prior to
            use in database queries

    September 2, 2005

    Syndicate content
     
     

    Drupal is a registered trademark of Dries Buytaert.