mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-06-30 00:19:25 +02: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…
Reference in New Issue
Block a user