According to PHP docs:

As of PHP 5.1, when called with no arguments, mktime() throws an E_STRICT notice: use the time() function instead.

Any reason why we use time() only in a one place in the code, in _hosting_queue_next_run() and mktime() everywhere else?

Comments

Steven Jones’s picture

Not that I know of, feel free to change them.

Steven Jones’s picture

Assigned: Unassigned » Steven Jones

Looking at for office hours.

Steven Jones’s picture

Assigned: Steven Jones » Unassigned
Status: Active » Fixed

Thanks for the bug report fixed for hostmaster in 6.x-1.x, 6.x-2.x and provision 6.x-1.x, 6.x-2.x.

Status: Fixed » Closed (fixed)

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

  • Commit 2e0568c on 6.x-2.x, dev-ssl-ip-allocation-refactor, dev-1205458-move_sites_out_of_platforms, 7.x-3.x, dev-588728-views-integration, dev-1403208-new_roles, dev-helmo-3.x by Steven Jones:
    Issue #1510572 by Steven Jones: Fixed Why do we use mktime() instead of...

  • Commit 2e0568c on 6.x-2.x, dev-ssl-ip-allocation-refactor, dev-1205458-move_sites_out_of_platforms, 7.x-3.x, dev-588728-views-integration, dev-1403208-new_roles, dev-helmo-3.x by Steven Jones:
    Issue #1510572 by Steven Jones: Fixed Why do we use mktime() instead of...