From bf3b4d6e75a0ae5cbbe689767c4062bfbfa69e06 Mon Sep 17 00:00:00 2001 From: zYne Date: Thu, 31 May 2007 20:13:04 +0000 Subject: [PATCH] --- lib/Doctrine/Configurable.php | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/lib/Doctrine/Configurable.php b/lib/Doctrine/Configurable.php index a27965281..ca62d355c 100644 --- a/lib/Doctrine/Configurable.php +++ b/lib/Doctrine/Configurable.php @@ -96,12 +96,7 @@ abstract class Doctrine_Configurable } break; case Doctrine::ATTR_ACCESSORS: - $accessors = array('none','get','set','both'); - - // if ( ! in_array($value,$accessors)) { - // throw new Doctrine_Exception(); - // } - + throw new Doctrine_Exception("Get / Set filtering is deprecated (slowed down Doctrine too much)."); break; case Doctrine::ATTR_COLL_LIMIT: if ($value < 1) {