Purges all data from the database.
Overrides ProfilerStorageInterface::purge
File
- drupal/core/vendor/symfony/http-kernel/Symfony/Component/HttpKernel/Profiler/PdoProfilerStorage.php, line 121
Class
- PdoProfilerStorage
- Base PDO storage for profiling information in a PDO database.
Namespace
Symfony\Component\HttpKernel\Profiler
Code
public function purge() {
$db = $this
->initDb();
$this
->exec($db, 'DELETE FROM sf_profiler_data');
$this
->close($db);
}