Remove pointless array cast.

This commit is contained in:
mark_story 2013-11-23 12:36:15 -05:00
parent 5e77183afe
commit eac6d7850f

View file

@ -861,7 +861,7 @@ class ModelTask extends BakeTask {
* @return array
*/
public function listAll($useDbConfig = null) {
$this->_tables = (array)$this->getAllTables($useDbConfig);
$this->_tables = $this->getAllTables($useDbConfig);
$this->_modelNames = array();
$count = count($this->_tables);