As designed Raw calls to time() instead of \XF::$time

Xon

Well-known member
Affected version
2.0 Beta 4
In finalSetup for creating a thread and replying to a thread, time() is called directly instead of using \XF::$time.

There appears to also be a number of other places which call time() instead of using the request start time. Is this intended?
 
Generally speaking, the raw calls are intended in certain situations to eliminate potential problems if time may have past since the script started. (In threads, notably to help ensure correct post order.)

Is this creating problems?
 
No, it is just it is a reversal of the last time I raised an issue about the sporadic 'position out of order' error that happens in XF1.

But good to hear!
 
Back
Top Bottom