mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-01-19 02:56:15 +00:00
removing unneeded parameter, describe() only takes one parameter
This commit is contained in:
parent
f32045787f
commit
00dd1ccc96
1 changed files with 1 additions and 1 deletions
|
@ -967,7 +967,7 @@ class Model extends Object {
|
|||
$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();
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue