Skip to content
Permalink
Browse files

Postgres::truncate(): Delete disused code.

  • Loading branch information...
okinaka committed Sep 5, 2013
1 parent 85e4716 commit e0f24d0ade2761adcefce5a85ac8b6013550deb1
Showing with 0 additions and 1 deletion.
  1. +0 −1 lib/Cake/Model/Datasource/Database/Postgres.php
@@ -346,7 +346,6 @@ public function truncate($table, $reset = false) {
$this->cacheSources = $cache;
}
if ($this->execute('DELETE FROM ' . $this->fullTableName($table))) {
$schema = $this->config['schema'];
if (isset($this->_sequenceMap[$table]) && $reset != true) {
foreach ($this->_sequenceMap[$table] as $sequence) {
list($schema, $sequence) = explode('.', $sequence);

0 comments on commit e0f24d0

Please sign in to comment.
You can’t perform that action at this time.