removing unneeded parameter, describe() only takes one parameter

This commit is contained in:
Ceeram 2011-07-11 21:07:44 +02:00
parent f32045787f
commit 00dd1ccc96

View file

@ -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();
}