mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-01-31 17:16:18 +00:00
Merge pull request #1335 from arnold-almeida/master
Use error() instead of err() for bevity
This commit is contained in:
commit
b75449df9e
1 changed files with 1 additions and 1 deletions
|
@ -214,7 +214,7 @@ class FixtureTask extends BakeTask {
|
||||||
$this->_Schema = new CakeSchema();
|
$this->_Schema = new CakeSchema();
|
||||||
$data = $this->_Schema->read(array('models' => false, 'connection' => $this->connection));
|
$data = $this->_Schema->read(array('models' => false, 'connection' => $this->connection));
|
||||||
if (!isset($data['tables'][$useTable])) {
|
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;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue