Probably backport from D7 where this constant is defined in bootstrap ? :)
D6 doesn't know of this one and thus automatically reset via cron never works, attached patches reverts back to the good old time() function.

CommentFileSizeAuthor
demo_reset_undefined_constant.patch500 bytesswentel

Comments

sun’s picture

Status: Needs review » Reviewed & tested by the community

Thanks! No time to commit this now, but will do later.

sun’s picture

Component: Code » Demo Reset
sivaji_ganesh_jojodae’s picture

I confirm the above patch works fine for me. @sun you can add me as a co-maintainer to share your burden :-). Let me know whether i need to create an issue for it.

sun’s picture

Status: Reviewed & tested by the community » Fixed

Thanks for reporting, reviewing, and testing! Committed.

A new development snapshot will be available within the next 12 hours. This improvement will be available in the next official release.

sun’s picture

@sivaji: Thanks for the offer! However, I'd have to see a little more from you first, as also outlined in http://drupal.org/node/363367 :)

sivaji_ganesh_jojodae’s picture

That makes sense, i agree with you.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.