phpbb/phpbb3 — pull request #1120 by p (2012-12-05 05:57:57+00:00)
Title: [ticket/10602] Use last_queue_run for its intended purpose.

We keep the last queue run time around, therefore for determining
whether enough time has passed since the last run we can simply
use this config variable.

When there is no queue file we consider a queue run successful.

Previously queue.php ("cache file") modification time would be used
for determining whether enough time has passed since last queue run.
The problem was that modification time would be updated whenever
anything was added to the queue, creating a situation where if
queue is processed less frequently than it is added to that email
would not be sent.

http://tracker.phpbb.com/browse/PHPBB3-10602

Queue still works after this.