MatthiasMullie\Scrapbook\Adapters\SQL::clearExpired PHP Méthode

clearExpired() protected méthode

An expired column should simply not exist.
protected clearExpired ( )
    protected function clearExpired()
    {
        $statement = $this->client->prepare("DELETE FROM {$this->table}\n            WHERE e < :expire");
        $statement->execute(array(':expire' => date('Y-m-d H:i:s')));
    }