mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 12:05:37 +00:00
BUGFIX Fixing SQLQuery->getFilter() usage of non-existent method (removed during refactoring of pull request), more accurate deprecation notice
This commit is contained in:
parent
d57ede8f44
commit
9326d9e60e
@ -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());
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
x
Reference in New Issue
Block a user