mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 12:05:37 +00:00
Corrects replacement method name in deprecation notice.
This commit is contained in:
parent
0a43354b5d
commit
a6f3e9f9eb
@ -110,7 +110,7 @@ class SQLQuery {
|
||||
}
|
||||
|
||||
function __get($field) {
|
||||
if(strtolower($field) == 'select') Deprecation::notice('3.0', 'Please use getSlect() instead');
|
||||
if(strtolower($field) == 'select') Deprecation::notice('3.0', 'Please use getSelect() instead');
|
||||
if(strtolower($field) == 'from') Deprecation::notice('3.0', 'Please use getFrom() instead');
|
||||
if(strtolower($field) == 'groupby') Deprecation::notice('3.0', 'Please use getGroupBy() instead');
|
||||
if(strtolower($field) == 'orderby') Deprecation::notice('3.0', 'Please use getOrderBy() instead');
|
||||
|
Loading…
x
Reference in New Issue
Block a user