[drupal-devel] [task] Content type admin code cleanup

JonBob drupal-devel at drupal.org
Sun Feb 27 14:52:02 UTC 2005


Issue status update for http://drupal.org/node/18045

 Project:      Drupal
 Version:      cvs
 Component:    node.module
 Category:     tasks
 Priority:     normal
 Assigned to:  JonBob
 Reported by:  JonBob
 Updated by:   JonBob
 Status:       patch
 Attachment:   http://drupal.org/files/issues/node_29.patch (4.45 KB)

Oops, a bit of experimental code slipped in.


JonBob



Previous comments:
------------------------------------------------------------------------

February 27, 2005 - 06:49 : JonBob

Attachment: http://drupal.org/files/issues/node_28.patch (4.44 KB)

The node type admin page uses an unclear callback name, and uses arg()
where it is not necessary. The attached patch cleans this up by
unifying node_types() with node_types_configure().
The fact I may want node_types() for my own use in CCK work is purely
coincidental. :-)





More information about the drupal-devel mailing list