Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

removing unneeded parameter, describe() only takes one parameter

  • Loading branch information...
commit 00dd1ccc96aef76ecaad8c2e6e82a28a3a204544 1 parent f320457
@ceeram ceeram authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  lib/Cake/Model/Model.php
View
2  lib/Cake/Model/Model.php
@@ -967,7 +967,7 @@ public function schema($field = false) {
$db = $this->getDataSource();
$db->cacheSources = ($this->cacheSources && $db->cacheSources);
if (method_exists($db, 'describe') && $this->useTable !== false) {
- $this->_schema = $db->describe($this, $field);
+ $this->_schema = $db->describe($this);
} elseif ($this->useTable === false) {
$this->_schema = array();
}
Please sign in to comment.
Something went wrong with that request. Please try again.