Skip to content
This repository has been archived by the owner on Jan 31, 2020. It is now read-only.

Commit

Permalink
Merge branch 'master' of git://github.com/zendframework/zf2
Browse files Browse the repository at this point in the history
  • Loading branch information
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/SaveHandler/DbTableGateway.php
Expand Up @@ -170,7 +170,7 @@ public function destroy($id)
public function gc($maxlifetime)
{
$platform = $this->tableGateway->getAdapter()->getPlatform();
return (bool) $this->tableGateway->delete(sprintf('%s + %s > %d',
return (bool) $this->tableGateway->delete(sprintf('%s + %s < %d',
$platform->quoteIdentifier($this->options->getModifiedColumn()),
$platform->quoteIdentifier($this->options->getLifetimeColumn()),
time()
Expand Down

0 comments on commit 955d97a

Please sign in to comment.