Closed (fixed)
Project:
Drupal core
Version:
7.x-dev
Component:
base system
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
8 Sep 2008 at 19:03 UTC
Updated:
1 Oct 2008 at 12:22 UTC
Jump to comment: Most recent file
Comments
Comment #1
kbahey commentedThis has already been implemented in core D7 in #302763.
However, I like the idea of a function or define, just because $_SERVER['blah ... is too verbose.
Comment #2
pwolanin commentedre-opening for discussion of a define.
Comment #3
webchickr_time is not developer-friendly. I would need to consult documentation to know what that meant.
Since we don't abbreviate things, the shortest we can really go is REQUEST_TIME. TIME isn't specific enough, I don't think.
Comment #4
webchickComment #5
pwolanin commentedTIME would be nicest (and I don't really think anyone would be confused), but even REQUEST_TIME is far easier on the eyes and fingers than what we have now.
Ran all tests with this patch- all pass (5599 passes, 0 fails, 0 exceptions).
Comment #6
robloachApplied patch, visited around the site, and then re-ran all tests with 100% passes.
Comment #7
dries commentedAgreed 100%. Committed to CVS HEAD. Thanks pwolanin.
Comment #8
dropcube commentedI have updated the documentation at Converting 6.x modules to 7.x
Comment #9
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.