From 9326d9e60e76f704b76adbe92ad0ac5b8146640e Mon Sep 17 00:00:00 2001 From: Ingo Schommer Date: Tue, 15 May 2012 21:29:43 +0200 Subject: [PATCH] BUGFIX Fixing SQLQuery->getFilter() usage of non-existent method (removed during refactoring of pull request), more accurate deprecation notice --- model/SQLQuery.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/model/SQLQuery.php b/model/SQLQuery.php index d63960b5c..ed097f99e 100644 --- a/model/SQLQuery.php +++ b/model/SQLQuery.php @@ -774,8 +774,8 @@ class SQLQuery { } public function getFilter() { - Deprecation::notice('3.0', 'Please use prepareWhere() instead of getFilter()'); - return $this->prepareWhere(); + Deprecation::notice('3.0', 'Please use itemized filters in getWhere() instead of getFilter()'); + return DB::getConn()->sqlWhereToString($this->getWhere(), $this->getConnective()); } /**