summaryrefslogtreecommitdiffstats
path: root/system/database
diff options
context:
space:
mode:
authorDerek Allard <derek.allard@ellislab.com>2008-01-14 06:46:49 +0100
committerDerek Allard <derek.allard@ellislab.com>2008-01-14 06:46:49 +0100
commit39af731090428b2a50bc196cc89931520483569f (patch)
tree55ac31eb084ad8adc31d61204f978288e4db5c1c /system/database
parent67b44edaf539245ca12789f19cca1e7a9437f4f3 (diff)
removed raw_where and raw_or_where. They duplicated existing functionality better left elsewhere.
Diffstat (limited to 'system/database')
-rw-r--r--system/database/DB_active_rec.php38
1 files changed, 0 insertions, 38 deletions
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;
- }
// --------------------------------------------------------------------