From 7e499f1f14fae25f8265cdf851babb9474731308 Mon Sep 17 00:00:00 2001 From: nate Date: Mon, 9 Jul 2007 04:31:39 +0000 Subject: [PATCH] Disabling integer column length for Postgres (Ticket #2814) git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5417 3807eeeb-6ff5-0310-8944-8be069107fe0 --- cake/libs/model/datasources/dbo/dbo_postgres.php | 4 ---- 1 file changed, 4 deletions(-) diff --git a/cake/libs/model/datasources/dbo/dbo_postgres.php b/cake/libs/model/datasources/dbo/dbo_postgres.php index 8635c8439..09e890079 100644 --- a/cake/libs/model/datasources/dbo/dbo_postgres.php +++ b/cake/libs/model/datasources/dbo/dbo_postgres.php @@ -492,10 +492,6 @@ class DboPostgres extends DboSource { if ($limit != null) { return intval($limit); - } elseif ($col == 'integer') { - return 11; - } elseif (in_array($col, array('int2', 'int4', 'int8'))) { - return intval(r('int', '', $col)); } return null; }