unl/VisitorChat — pull request #271 by mfairchild365 (2012-12-04 16:02:31+00:00)
Title: Record Status changes when an assignment has expired

The function to expire pending assignments was built to only use one SQL query, and thus was not triggering an update to the user status via the 'User\Record::setStatus()' function. This means that the status was not being recorded in the history table.

In order to fix this, went to a more programmatic approach to expiring assignments. Rather than doing everything in one query, which was getting quite complicated, I hook into existing PHP code.