From e0f24d0ade2761adcefce5a85ac8b6013550deb1 Mon Sep 17 00:00:00 2001 From: okinaka Date: Thu, 5 Sep 2013 14:11:50 +0900 Subject: [PATCH] Postgres::truncate(): Delete disused code. --- lib/Cake/Model/Datasource/Database/Postgres.php | 1 - 1 file changed, 1 deletion(-) diff --git a/lib/Cake/Model/Datasource/Database/Postgres.php b/lib/Cake/Model/Datasource/Database/Postgres.php index faad9c1b8..d8a6e0f42 100644 --- a/lib/Cake/Model/Datasource/Database/Postgres.php +++ b/lib/Cake/Model/Datasource/Database/Postgres.php @@ -346,7 +346,6 @@ class Postgres extends DboSource { $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);