mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 12:05:37 +00:00
MINOR Whitespace
This commit is contained in:
parent
f1480c20bf
commit
ec47cc1286
@ -518,11 +518,11 @@ class RestfulServer extends Controller {
|
|||||||
* @return SQLQuery|boolean
|
* @return SQLQuery|boolean
|
||||||
*/
|
*/
|
||||||
protected function getObjectRelationQuery($obj, $params, $sort, $limit, $relationName) {
|
protected function getObjectRelationQuery($obj, $params, $sort, $limit, $relationName) {
|
||||||
// The relation method will return a DataList, that getSearchQuery subsequently manipulates
|
// The relation method will return a DataList, that getSearchQuery subsequently manipulates
|
||||||
if($obj->hasMethod($relationName)) {
|
if($obj->hasMethod($relationName)) {
|
||||||
$query = $obj->$relationName();
|
$query = $obj->$relationName();
|
||||||
return $this->getSearchQuery($query->dataClass(), $params, $sort, $limit, $query);
|
return $this->getSearchQuery($query->dataClass(), $params, $sort, $limit, $query);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
protected function permissionFailure() {
|
protected function permissionFailure() {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user