File
- drupal/core/vendor/symfony/http-kernel/Symfony/Component/HttpKernel/Profiler/PdoProfilerStorage.php, line 149
Class
- PdoProfilerStorage
- Base PDO storage for profiling information in a PDO database.
Namespace
Symfony\Component\HttpKernel\Profiler
Code
protected function cleanup() {
$db = $this
->initDb();
$this
->exec($db, 'DELETE FROM sf_profiler_data WHERE created_at < :time', array(
':time' => time() - $this->lifetime,
));
$this
->close($db);
}