From ba3dd14bd2203c282d4fd0df2fb462fec3b819d2 Mon Sep 17 00:00:00 2001 From: Kaste Date: Wed, 23 Jul 2008 02:20:21 +0000 Subject: [PATCH] Removed unused method AkAR->_validateFindOptions(). We use ->_isOptionsHash(). git-svn-id: http://svn.akelos.org/trunk@926 a2fa5c27-f921-0410-a72c-bf682d381be0 --- lib/AkActiveRecord.php | 8 -------- 1 file changed, 8 deletions(-) diff --git a/lib/AkActiveRecord.php b/lib/AkActiveRecord.php index 717b5fb..7c0b4ac 100644 --- a/lib/AkActiveRecord.php +++ b/lib/AkActiveRecord.php @@ -1096,14 +1096,6 @@ class AkActiveRecord extends AkAssociatedActiveRecord } - function _validateFindOptions(&$options) - { - $valid_keys = array('conditions', 'include', 'joins', 'limit', 'offset', 'order', 'bind', 'select','select_prefix', 'readonly'); - foreach (array_keys($options) as $key){ - if (!in_array($key,$valid_keys)) unset($options[$key]); - } - } - function &findFirst() { if(!isset($this->_activeRecordHasBeenInstantiated)){ -- 2.11.4.GIT