summaryrefslogtreecommitdiffstats
path: root/system/database/DB_active_rec.php
diff options
context:
space:
mode:
authorGreg Aker <greg.aker@ellislab.com>2010-08-06 20:01:38 +0200
committerGreg Aker <greg.aker@ellislab.com>2010-08-06 20:01:38 +0200
commit88f8d9f4c9d590cc14e71cd77f34e5e2abe57e21 (patch)
tree41c1c9552eb1c1c35293524eb5d5791189547876 /system/database/DB_active_rec.php
parent0f6b7c1ce0f0122ba162dc579a34a73438d4955a (diff)
Removing the following deprecated database methods: orwhere, orlike, groupby, orhaving, orderby, getwhere.
Diffstat (limited to 'system/database/DB_active_rec.php')
-rw-r--r--system/database/DB_active_rec.php74
1 files changed, 1 insertions, 73 deletions
diff --git a/system/database/DB_active_rec.php b/system/database/DB_active_rec.php
index 3e9923e6f..953cc9548 100644
--- a/system/database/DB_active_rec.php
+++ b/system/database/DB_active_rec.php
@@ -399,18 +399,6 @@ class CI_DB_active_record extends CI_DB_driver {
// --------------------------------------------------------------------
/**
- * orwhere() is an alias of or_where()
- * this function is here for backwards compatibility, as
- * orwhere() has been deprecated
- */
- function orwhere($key, $value = NULL, $escape = TRUE)
- {
- return $this->or_where($key, $value, $escape);
- }
-
- // --------------------------------------------------------------------
-
- /**
* Where
*
* Called by where() or orwhere()
@@ -672,18 +660,6 @@ class CI_DB_active_record extends CI_DB_driver {
// --------------------------------------------------------------------
/**
- * orlike() is an alias of or_like()
- * this function is here for backwards compatibility, as
- * orlike() has been deprecated
- */
- function orlike($field, $match = '', $side = 'both')
- {
- return $this->or_like($field, $match, $side);
- }
-
- // --------------------------------------------------------------------
-
- /**
* Like
*
* Called by like() or orlike()
@@ -776,18 +752,6 @@ class CI_DB_active_record extends CI_DB_driver {
// --------------------------------------------------------------------
/**
- * groupby() is an alias of group_by()
- * this function is here for backwards compatibility, as
- * groupby() has been deprecated
- */
- function groupby($by)
- {
- return $this->group_by($by);
- }
-
- // --------------------------------------------------------------------
-
- /**
* Sets the HAVING value
*
* Separates multiple calls with AND
@@ -801,19 +765,7 @@ class CI_DB_active_record extends CI_DB_driver {
{
return $this->_having($key, $value, 'AND ', $escape);
}
-
- // --------------------------------------------------------------------
-
- /**
- * orhaving() is an alias of or_having()
- * this function is here for backwards compatibility, as
- * orhaving() has been deprecated
- */
-
- function orhaving($key, $value = '', $escape = TRUE)
- {
- return $this->or_having($key, $value, $escape);
- }
+
// --------------------------------------------------------------------
/**
@@ -939,18 +891,6 @@ class CI_DB_active_record extends CI_DB_driver {
// --------------------------------------------------------------------
/**
- * orderby() is an alias of order_by()
- * this function is here for backwards compatibility, as
- * orderby() has been deprecated
- */
- function orderby($orderby, $direction = '')
- {
- return $this->order_by($orderby, $direction);
- }
-
- // --------------------------------------------------------------------
-
- /**
* Sets the LIMIT value
*
* @access public
@@ -1126,18 +1066,6 @@ class CI_DB_active_record extends CI_DB_driver {
// --------------------------------------------------------------------
/**
- * getwhere() is an alias of get_where()
- * this function is here for backwards compatibility, as
- * getwhere() has been deprecated
- */
- function getwhere($table = '', $where = null, $limit = null, $offset = null)
- {
- return $this->get_where($table, $where, $limit, $offset);
- }
-
- // --------------------------------------------------------------------
-
- /**
* Insert_Batch
*
* Compiles batch insert strings and runs the queries