[drupal-devel] [task] Use named constants for drupal_bootstrap()
drumm
drupal-devel at drupal.org
Fri Jul 22 23:30:51 UTC 2005
Issue status update for
http://drupal.org/node/27003
Post a follow up:
http://drupal.org/project/comments/add/27003
Project: Drupal
Version: cvs
Component: base system
Category: tasks
Priority: normal
Assigned to: drumm
Reported by: drumm
Updated by: drumm
Status: patch
I am nearly finished preparing a patch to update.php, which has modified
lines next to a line modified by this patch. I'd like this resolved
first to avoid conflicts.
drumm
Previous comments:
------------------------------------------------------------------------
Mon, 18 Jul 2005 23:22:22 +0000 : drumm
Attachment: http://drupal.org/files/issues/bootstrap_constants.patch (5.94 KB)
Named constants are much better to use than strings for this sort of
thing.
------------------------------------------------------------------------
Wed, 20 Jul 2005 07:01:20 +0000 : chx
It's fine with me. drumm says that if you do make a typo with the named
constant a useful error is more likely.
More information about the drupal-devel
mailing list