mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2024-11-15 03:18:26 +00:00
Cleanup some whitespace.
This commit is contained in:
parent
e0534a7a70
commit
5f2d091810
1 changed files with 0 additions and 2 deletions
|
@ -493,13 +493,11 @@ class Model extends Overloadable {
|
||||||
*/
|
*/
|
||||||
public function __call($method, $params) {
|
public function __call($method, $params) {
|
||||||
$result = $this->Behaviors->dispatchMethod($this, $method, $params);
|
$result = $this->Behaviors->dispatchMethod($this, $method, $params);
|
||||||
|
|
||||||
if ($result !== array('unhandled')) {
|
if ($result !== array('unhandled')) {
|
||||||
return $result;
|
return $result;
|
||||||
}
|
}
|
||||||
$db =& ConnectionManager::getDataSource($this->useDbConfig);
|
$db =& ConnectionManager::getDataSource($this->useDbConfig);
|
||||||
$return = $db->query($method, $params, $this);
|
$return = $db->query($method, $params, $this);
|
||||||
|
|
||||||
return $return;
|
return $return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue