MINOR Whitespace

This commit is contained in:
Ingo Schommer 2011-11-13 13:52:07 +01:00
parent f1480c20bf
commit ec47cc1286

View File

@ -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() {