BUGFIX Fixing SQLQuery->getFilter() usage of non-existent method (removed during refactoring of pull request), more accurate deprecation notice

This commit is contained in:
Ingo Schommer 2012-05-15 21:29:43 +02:00
parent d57ede8f44
commit 9326d9e60e

View File

@ -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());
}
/**