Fixing undefined variable reference.

Fixes #2078
This commit is contained in:
mark_story 2011-10-09 22:34:59 -04:00
parent 3f778d8936
commit 455787ade9

View file

@ -138,7 +138,7 @@ class DatabaseSession implements CakeSessionHandlerInterface {
if (!$expires) {
$expires = time();
}
return $this->_model->deleteAll(array($model->alias . ".expires <" => $expires), false, false);
return $this->_model->deleteAll(array($this->_model->alias . ".expires <" => $expires), false, false);
}
/**