rackspace/php-opencloud — pull request #490 by joshrencher (2014-12-06 11:20:53+00:00)
Title: Update Container.php

As is, deleteWithObjects() will fail if container is EMPTY. This is because an object count of zero means $secondsToWait = 0, which means $endTime = time(), which means WHILE loop never runs. Quickest solution was to change "time() < $endTime" to "time() <= $endTime, but it made more sense to just delete the container if it's empty.