[GarbageCollection] Date problem (fixes #7]

This commit is contained in:
Gregwar 2011-12-02 18:24:42 +01:00
parent df7c959f54
commit 249036c745
1 changed files with 1 additions and 1 deletions

View File

@ -79,7 +79,7 @@ class CaptchaGenerator {
public function garbageCollection()
{
$finder = new Finder();
$criteria = sprintf('>= now - %s minutes', $this->expiration);
$criteria = sprintf('<= now - %s minutes', $this->expiration);
$finder->in($this->webPath . '/' . $this->imageFolder)
->date($criteria);