Merge pull request #1335 from arnold-almeida/master

Use error() instead of err() for bevity
This commit is contained in:
Mark Story 2013-06-07 03:59:44 -07:00
commit b75449df9e

View file

@ -214,7 +214,7 @@ class FixtureTask extends BakeTask {
$this->_Schema = new CakeSchema();
$data = $this->_Schema->read(array('models' => false, 'connection' => $this->connection));
if (!isset($data['tables'][$useTable])) {
$this->err('Could not find your selected table ' . $useTable);
$this->error('Could not find your selected table ' . $useTable);
return false;
}