From 39af731090428b2a50bc196cc89931520483569f Mon Sep 17 00:00:00 2001 From: Derek Allard Date: Mon, 14 Jan 2008 05:46:49 +0000 Subject: removed raw_where and raw_or_where. They duplicated existing functionality better left elsewhere. --- system/database/DB_active_rec.php | 38 -------------------------------------- 1 file changed, 38 deletions(-) (limited to 'system') diff --git a/system/database/DB_active_rec.php b/system/database/DB_active_rec.php index 683ded0a7..e697cac77 100644 --- a/system/database/DB_active_rec.php +++ b/system/database/DB_active_rec.php @@ -203,44 +203,6 @@ class CI_DB_active_record extends CI_DB_driver { { return $this->or_where($key, $value); } - - // -------------------------------------------------------------------- - - /** - * Raw Where - * - * Generates an unfiltered WHERE portion of the query. - * Separates multiple calls with AND - * - * @access public - * @param string - * @return string - */ - function raw_where($statement) - { - $prefix = (count($this->ar_where) == 0) ? '' : ' AND '; - $this->ar_where[] = $prefix.$statement; - return $statement; - } - - // -------------------------------------------------------------------- - - /** - * Raw OR Where - * - * Generates an unfiltered WHERE portion of the query. - * Separates multiple calls with OR - * - * @access public - * @param string - * @return string - */ - function raw_or_where($statement) - { - $prefix = (count($this->ar_where) == 0) ? '' : ' OR '; - $this->ar_where[] = $prefix.$statement; - return $statement; - } // -------------------------------------------------------------------- -- cgit v1.2.3-24-g4f1b