From 705409e300fa9e0724c6b2786a9d60c0153a00b6 Mon Sep 17 00:00:00 2001 From: Jamie Matthews Date: Tue, 14 Sep 2010 04:09:01 +0100 Subject: BACKWARDS INCOMPATIBLE CHANGE: rename where_equals method to where_equal for consistency --- idiorm.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'idiorm.php') diff --git a/idiorm.php b/idiorm.php index 08a2b5c..1876407 100644 --- a/idiorm.php +++ b/idiorm.php @@ -323,14 +323,14 @@ * is built. */ public function where($column_name, $value) { - return $this->where_equals($column_name, $value); + return $this->where_equal($column_name, $value); } /** * More explicitly named version of for the where() method. * Can be used if preferred. */ - public function where_equals($column_name, $value) { + public function where_equal($column_name, $value) { return $this->add_where($column_name, '=', $value); } -- cgit v1.2.3